Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (appvenv) root@kali:~/code/app# pip3 install pybluez
- Collecting pybluez
- Using cached https://files.pythonhosted.org/packages/c1/98/3149481d508bee174335be6725880f00d297afebe75c15e917af8f6fe169/PyBluez-0.22.zip
- Building wheels for collected packages: pybluez
- Running setup.py bdist_wheel for pybluez ... error
- Complete output from command /root/code/app/appvenv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ufs7m7a0/pybluez/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/tmpzwfnlsixpip-wheel- --python-tag cp36:
- usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
- or: -c --help [cmd1 cmd2 ...]
- or: -c --help-commands
- or: -c cmd --help
- error: invalid command 'bdist_wheel'
- ----------------------------------------
- Failed building wheel for pybluez
- Running setup.py clean for pybluez
- Failed to build pybluez
- Installing collected packages: pybluez
- Running setup.py install for pybluez ... error
- Complete output from command /root/code/app/appvenv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ufs7m7a0/pybluez/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-19_amq1g-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/code/app/appvenv/include/site/python3.6/pybluez:
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-armv7l-3.6
- creating build/lib.linux-armv7l-3.6/bluetooth
- copying bluetooth/osx.py -> build/lib.linux-armv7l-3.6/bluetooth
- copying bluetooth/msbt.py -> build/lib.linux-armv7l-3.6/bluetooth
- copying bluetooth/bluez.py -> build/lib.linux-armv7l-3.6/bluetooth
- copying bluetooth/btcommon.py -> build/lib.linux-armv7l-3.6/bluetooth
- copying bluetooth/__init__.py -> build/lib.linux-armv7l-3.6/bluetooth
- copying bluetooth/widcomm.py -> build/lib.linux-armv7l-3.6/bluetooth
- copying bluetooth/ble.py -> build/lib.linux-armv7l-3.6/bluetooth
- running build_ext
- building 'bluetooth._bluetooth' extension
- creating build/temp.linux-armv7l-3.6
- creating build/temp.linux-armv7l-3.6/bluez
- arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./port3 -I/root/code/app/appvenv/include -I/usr/include/python3.6m -c bluez/btmodule.c -o build/temp.linux-armv7l-3.6/bluez/btmodule.o
- In file included from bluez/btmodule.c:20:0:
- bluez/btmodule.h:5:10: fatal error: bluetooth/bluetooth.h: No such file or directory
- #include <bluetooth/bluetooth.h>
- ^~~~~~~~~~~~~~~~~~~~~~~
- compilation terminated.
- error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
- ----------------------------------------
- Command "/root/code/app/appvenv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ufs7m7a0/pybluez/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-19_amq1g-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/code/app/appvenv/include/site/python3.6/pybluez" failed with error code 1 in /tmp/pip-build-ufs7m7a0/pybluez/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement