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
Installation using pip(3) on x86_64-linux is broken because the Python Pip distribution (https://files.pythonhosted.org/packages/86/fc/3a13408cb3b32abff1b0539f44fca02ca378d9077b11f0c95674f278f3de/snowboy-1.2.0b1.tar.gz) contains swig/Python/snowboy-detect-swig.o which is a Mach-O 64-bit x86_64 object and newer than the .c file and thus it is not rebuilt automatically. After this, the loader fails with
swig/Python/snowboy-detect-swig.o
Mach-O 64-bit x86_64 object
Compiling snowboy... g++ -I../../ -O3 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++0x -shared snowboy-detect-swig.o \ ../..//lib/ubuntu64/libsnowboy-detect.a -L/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu -L/usr/lib -lpython3.5m -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lm -ldl -lf77blas -lcblas -llapack_atlas -latlas -o _snowboydetect.so snowboy-detect-swig.o: file not recognized: File format not recognized collect2: error: ld returned 1 exit status
Please remove the generated files from the Python distribution package. Thanks.
(BTW, this is probably the source of several other issues mentioning that installation fails!)
The text was updated successfully, but these errors were encountered:
Have you checked this #493 yet. @norbusan ? It is the better way to build Snowboy.
Sorry, something went wrong.
@hongquan thanks, interesting to see. Indeed, automatic support for Python3 would be nice. Thanks for your work on that.
How could I tell pip to use that branch? I just need to install this to run kalliope. Edit: Dunno why I asked, this is how: pip3 install --user git+https://github.com/fossasia/snowboy.git@feature/standard-Python-build
No branches or pull requests
Installation using pip(3) on x86_64-linux is broken because the Python Pip distribution (https://files.pythonhosted.org/packages/86/fc/3a13408cb3b32abff1b0539f44fca02ca378d9077b11f0c95674f278f3de/snowboy-1.2.0b1.tar.gz) contains
swig/Python/snowboy-detect-swig.o
which is aMach-O 64-bit x86_64 object
and newer than the .c file and thus it is not rebuilt automatically. After this, the loader fails withPlease remove the generated files from the Python distribution package. Thanks.
(BTW, this is probably the source of several other issues mentioning that installation fails!)
The text was updated successfully, but these errors were encountered: