Open barosz0 opened 6 years ago
i try use pip but i get: Collecting snowboy Using cached snowboy-1.2.0b1.tar.gz Collecting PyAudio (from snowboy) Building wheels for collected packages: snowboy Running setup.py bdist_wheel for snowboy ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-Mnumxx/snowboy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpQIvBnRpip-wheel- --python-tag cp27: running bdist_wheel running build Compiling snowboy... /bin/sh: 1: swig: not found expr: syntax error g++ -I../../ -O3 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++0x -shared snowboy-detect-swig.o \ ../..//lib/rpi/libsnowboy-detect.a -L/usr/lib/python2.7/config-arm-linux-gnueabihf -L/usr/lib -lpython2.7 -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 Makefile:65: recipe for target '_snowboydetect.so' failed make: *** [_snowboydetect.so] Error 1 creating build creating build/lib.linux-armv7l-2.7 creating build/lib.linux-armv7l-2.7/snowboy error: can't copy 'swig/Python/_snowboydetect.so': doesn't exist or not a regular file
Failed building wheel for snowboy Running setup.py clean for snowboy Failed to build snowboy Installing collected packages: PyAudio, snowboy Running setup.py install for snowboy ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-Mnumxx/snowboy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-UxpNI8-record/install-record.txt --single-version-externally-managed --compile --user --prefix=: running install running build Compiling snowboy... /bin/sh: 1: swig: not found expr: syntax error g++ -I../../ -O3 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++0x -shared snowboy-detect-swig.o \ ../..//lib/rpi/libsnowboy-detect.a -L/usr/lib/python2.7/config-arm-linux-gnueabihf -L/usr/lib -lpython2.7 -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 Makefile:65: recipe for target '_snowboydetect.so' failed make: *** [_snowboydetect.so] Error 1 creating build creating build/lib.linux-armv7l-2.7 creating build/lib.linux-armv7l-2.7/snowboy error: can't copy 'swig/Python/_snowboydetect.so': doesn't exist or not a regular file
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-Mnumxx/snowboy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-UxpNI8-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-Mnumxx/snowboy/
See here: https://github.com/Kitt-AI/snowboy/issues/271
i try use pip but i get: Collecting snowboy Using cached snowboy-1.2.0b1.tar.gz Collecting PyAudio (from snowboy) Building wheels for collected packages: snowboy Running setup.py bdist_wheel for snowboy ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-Mnumxx/snowboy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpQIvBnRpip-wheel- --python-tag cp27: running bdist_wheel running build Compiling snowboy... /bin/sh: 1: swig: not found expr: syntax error g++ -I../../ -O3 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++0x -shared snowboy-detect-swig.o \ ../..//lib/rpi/libsnowboy-detect.a -L/usr/lib/python2.7/config-arm-linux-gnueabihf -L/usr/lib -lpython2.7 -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 Makefile:65: recipe for target '_snowboydetect.so' failed make: *** [_snowboydetect.so] Error 1 creating build creating build/lib.linux-armv7l-2.7 creating build/lib.linux-armv7l-2.7/snowboy error: can't copy 'swig/Python/_snowboydetect.so': doesn't exist or not a regular file
Failed building wheel for snowboy Running setup.py clean for snowboy Failed to build snowboy Installing collected packages: PyAudio, snowboy Running setup.py install for snowboy ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-Mnumxx/snowboy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-UxpNI8-record/install-record.txt --single-version-externally-managed --compile --user --prefix=: running install running build Compiling snowboy... /bin/sh: 1: swig: not found expr: syntax error g++ -I../../ -O3 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++0x -shared snowboy-detect-swig.o \ ../..//lib/rpi/libsnowboy-detect.a -L/usr/lib/python2.7/config-arm-linux-gnueabihf -L/usr/lib -lpython2.7 -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 Makefile:65: recipe for target '_snowboydetect.so' failed make: *** [_snowboydetect.so] Error 1 creating build creating build/lib.linux-armv7l-2.7 creating build/lib.linux-armv7l-2.7/snowboy error: can't copy 'swig/Python/_snowboydetect.so': doesn't exist or not a regular file
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-Mnumxx/snowboy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-UxpNI8-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-Mnumxx/snowboy/