Bluetooth_project
Bluetooth_project copied to clipboard
Installation issue on Linux Mint 21
Error while installing:
user@box:~/Downloads/Bluetooth_project-master$ pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting PyBluez==0.23
Using cached PyBluez-0.23.tar.gz (97 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in PyBluez setup command: use_2to3 is invalid.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Solved by:
pip install git+https://github.com/pybluez/pybluez.git#egg=pybluez
( https://stackoverflow.com/a/75820681 )
and changing the requirements.txt
file from PyBluez==0.23
to PyBluez==0.30