sudo pip install snowboy
Collecting snowboy
Using cached snowboy-1.2.0b1.tar.gz
Requirement already satisfied: PyAudio in /usr/local/lib/python2.7/dist-packages/PyAudio-0.2.11-py2.7-linux-armv7l.egg (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-4S_Hxf/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/tmp82jh2Opip-wheel- --python-tag cp27:
running bdist_wheel
running build
Compiling snowboy...
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: snowboy
Running setup.py install for snowboy ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-4S_Hxf/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-z5O3Qz-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
Compiling snowboy...
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-4S_Hxf/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-z5O3Qz-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-4S_Hxf/snowboy/
Hi,
Here is my output during a
sudo pip install snowboyon Raspbian Strech