We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello !
I'm getting this error when installing with pip :
cc -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -iquote . -include src/custom_exit.h -arch x86_64 -arch i386 -pipe -Isrc -I/Users/xxx/venv/lib/python2.7/site-packages/cysignals -I. -Isrc/variant/include -I/xxx/venv/lib/python2.7/site-packages/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/fasttext_access.cpp -o build/temp.macosx-10.12-intel-2.7/src/fasttext_access.o -Wno-sign-compare -std=c++0x src/fasttext_access.cpp:43:1: error: non-type template argument is not a pointer to member constant ALLOW_METHOD_ACCESS(FastText, bool, checkModel, std::istream&); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/private_access.h:55:38: note: expanded from macro 'ALLOW_METHOD_ACCESS' template struct rob<Only_##MEMBER, (RET_TYPE(CLASS::)(VA_ARGS))(&CLASS::MEMBER)> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fasttext_access.cpp:54:1: error: non-type template argument is not a pointer to member constant ALLOW_CONST_METHOD_ACCESS(Dictionary, int32_t, find, const std::string&); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/private_access.h:59:38: note: expanded from macro 'ALLOW_CONST_METHOD_ACCESS' template struct rob<Only_##MEMBER, (RET_TYPE(CLASS::)(VA_ARGS) const)(&CLASS::MEMBER)> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fasttext_access.cpp:55:1: error: non-type template argument is not a pointer to member constant ALLOW_CONST_METHOD_ACCESS(Dictionary, void, pushHash, std::vector<int32_t>&, int32_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/private_access.h:59:38: note: expanded from macro 'ALLOW_CONST_METHOD_ACCESS' template struct rob<Only_##MEMBER, (RET_TYPE(CLASS::)(VA_ARGS) const)(&CLASS::MEMBER)> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fasttext_access.cpp:56:1: error: non-type template argument is not a pointer to member constant ALLOW_METHOD_ACCESS(Dictionary, void, initTableDiscard, ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/private_access.h:55:38: note: expanded from macro 'ALLOW_METHOD_ACCESS' template struct rob<Only_##MEMBER, (RET_TYPE(CLASS::)(VA_ARGS))(&CLASS::MEMBER)> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fasttext_access.cpp:57:1: error: non-type template argument is not a pointer to member constant ALLOW_METHOD_ACCESS(Dictionary, void, initNgrams, ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/private_access.h:55:38: note: expanded from macro 'ALLOW_METHOD_ACCESS' template struct rob<Only_##MEMBER, (RET_TYPE(CLASS::*)(VA_ARGS))(&CLASS::MEMBER)> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 errors generated. error: command 'cc' failed with exit status 1
I tried to install also with python setup.py install but I'm getting the same error. Could you help ?
The text was updated successfully, but these errors were encountered:
I finally managed to install following the instructions here : #24
Sorry, something went wrong.
No branches or pull requests
Hello !
I'm getting this error when installing with pip :
cc -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -iquote . -include src/custom_exit.h -arch x86_64 -arch i386 -pipe -Isrc -I/Users/xxx/venv/lib/python2.7/site-packages/cysignals -I. -Isrc/variant/include -I/xxx/venv/lib/python2.7/site-packages/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/fasttext_access.cpp -o build/temp.macosx-10.12-intel-2.7/src/fasttext_access.o -Wno-sign-compare -std=c++0x
src/fasttext_access.cpp:43:1: error: non-type template argument is not a pointer to member constant
ALLOW_METHOD_ACCESS(FastText, bool, checkModel, std::istream&);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/private_access.h:55:38: note: expanded from macro 'ALLOW_METHOD_ACCESS'
template struct rob<Only_##MEMBER, (RET_TYPE(CLASS::)(VA_ARGS))(&CLASS::MEMBER)>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fasttext_access.cpp:54:1: error: non-type template argument is not a pointer to member constant
ALLOW_CONST_METHOD_ACCESS(Dictionary, int32_t, find, const std::string&);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/private_access.h:59:38: note: expanded from macro 'ALLOW_CONST_METHOD_ACCESS'
template struct rob<Only_##MEMBER, (RET_TYPE(CLASS::)(VA_ARGS) const)(&CLASS::MEMBER)>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fasttext_access.cpp:55:1: error: non-type template argument is not a pointer to member constant
ALLOW_CONST_METHOD_ACCESS(Dictionary, void, pushHash, std::vector<int32_t>&, int32_t);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/private_access.h:59:38: note: expanded from macro 'ALLOW_CONST_METHOD_ACCESS'
template struct rob<Only_##MEMBER, (RET_TYPE(CLASS::)(VA_ARGS) const)(&CLASS::MEMBER)>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fasttext_access.cpp:56:1: error: non-type template argument is not a pointer to member constant
ALLOW_METHOD_ACCESS(Dictionary, void, initTableDiscard, );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/private_access.h:55:38: note: expanded from macro 'ALLOW_METHOD_ACCESS'
template struct rob<Only_##MEMBER, (RET_TYPE(CLASS::)(VA_ARGS))(&CLASS::MEMBER)>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fasttext_access.cpp:57:1: error: non-type template argument is not a pointer to member constant
ALLOW_METHOD_ACCESS(Dictionary, void, initNgrams, );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/private_access.h:55:38: note: expanded from macro 'ALLOW_METHOD_ACCESS'
template struct rob<Only_##MEMBER, (RET_TYPE(CLASS::*)(VA_ARGS))(&CLASS::MEMBER)>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 errors generated.
error: command 'cc' failed with exit status 1
I tried to install also with python setup.py install but I'm getting the same error. Could you help ?
The text was updated successfully, but these errors were encountered: