Advertisement
Guest User

Untitled

a guest
Jul 16th, 2018
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 KB | None | 0 0
  1. (appvenv) root@kali:~/code/app# pip3 install pybluez
  2. Collecting pybluez
  3. Using cached https://files.pythonhosted.org/packages/c1/98/3149481d508bee174335be6725880f00d297afebe75c15e917af8f6fe169/PyBluez-0.22.zip
  4. Building wheels for collected packages: pybluez
  5. Running setup.py bdist_wheel for pybluez ... error
  6. 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:
  7. usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
  8. or: -c --help [cmd1 cmd2 ...]
  9. or: -c --help-commands
  10. or: -c cmd --help
  11.  
  12. error: invalid command 'bdist_wheel'
  13.  
  14. ----------------------------------------
  15. Failed building wheel for pybluez
  16. Running setup.py clean for pybluez
  17. Failed to build pybluez
  18. Installing collected packages: pybluez
  19. Running setup.py install for pybluez ... error
  20. 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:
  21. running install
  22. running build
  23. running build_py
  24. creating build
  25. creating build/lib.linux-armv7l-3.6
  26. creating build/lib.linux-armv7l-3.6/bluetooth
  27. copying bluetooth/osx.py -> build/lib.linux-armv7l-3.6/bluetooth
  28. copying bluetooth/msbt.py -> build/lib.linux-armv7l-3.6/bluetooth
  29. copying bluetooth/bluez.py -> build/lib.linux-armv7l-3.6/bluetooth
  30. copying bluetooth/btcommon.py -> build/lib.linux-armv7l-3.6/bluetooth
  31. copying bluetooth/__init__.py -> build/lib.linux-armv7l-3.6/bluetooth
  32. copying bluetooth/widcomm.py -> build/lib.linux-armv7l-3.6/bluetooth
  33. copying bluetooth/ble.py -> build/lib.linux-armv7l-3.6/bluetooth
  34. running build_ext
  35. building 'bluetooth._bluetooth' extension
  36. creating build/temp.linux-armv7l-3.6
  37. creating build/temp.linux-armv7l-3.6/bluez
  38. 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
  39. In file included from bluez/btmodule.c:20:0:
  40. bluez/btmodule.h:5:10: fatal error: bluetooth/bluetooth.h: No such file or directory
  41. #include <bluetooth/bluetooth.h>
  42. ^~~~~~~~~~~~~~~~~~~~~~~
  43. compilation terminated.
  44. error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
  45.  
  46. ----------------------------------------
  47. 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