Skip to content

Unable to install python through repository #114

@problems-sketch

Description

@problems-sketch

Hi,

I tried installing falcon using the repository, but getting the following error =>

In file included from internal/python_wrapper.cc:2: In file included from include/falconn/lsh_nn_table.h:484: In file included from include/falconn/wrapper/cpp_wrapper_impl.h:16: In file included from include/falconn/wrapper/../core/flat_hash_table.h:13: external/simple-serializer/serialize.h:71:25: error: use of undeclared identifier 'serialize' Serializer<size_t>::serialize(output, entity.size()); ^ external/simple-serializer/serialize.h:94:32: note: in instantiation of member function 'ir::Serializer<std::__1::vector<float, std::__1::allocator<float> >, void>::serialize' requested here Serializer<vector<float>>::serialize(output, aux); ^ external/simple-serializer/serialize.h:70:15: note: must qualify identifier to find this declaration in dependent base class static void serialize(FILE *output, const vector<S> &entity) { ^ external/simple-serializer/serialize.h:71:43: error: reference to type 'const vector<float>' could not bind to an rvalue of type 'std::__1::vector<float, std::__1::allocator<float> >::size_type' (aka 'unsigned long') Serializer<size_t>::serialize(output, entity.size()); ^~~~~~~~~~~~~ external/simple-serializer/serialize.h:70:56: note: passing argument to parameter 'entity' here static void serialize(FILE *output, const vector<S> &entity) { ^ external/simple-serializer/serialize.h:79:44: error: cannot initialize a parameter of type 'vector<float> *' with an rvalue of type 'size_t *' (aka 'unsigned long *') Serializer<size_t>::deserialize(input, &s);

How can I resolve this issue? Earlier I tried to install using pip but there were some missing functionalities as mentioned in here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions