Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anyone can help with a PyBluez problem? #485

Open
Pataskralik opened this issue Oct 3, 2023 · 1 comment
Open

Anyone can help with a PyBluez problem? #485

Pataskralik opened this issue Oct 3, 2023 · 1 comment

Comments

@Pataskralik
Copy link

Hello, does anyone have any advice on what to do with this error?
PS C:\Users\patrm\Desktop\work> pip install pybluez
Collecting pybluez
Using cached PyBluez-0.23.tar.gz (97 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel 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: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
https://user-images.githubusercontent.com/144142294/271785800-3a314d0c-4829-4072-98b7-d31b125cd81c.png

@surbhitt
Copy link

This is a known issue that was fixed in the source code but the pip version is not up-to date...
install python-dev3 with pip install python-dev3 might even need to install python-dev.
then download the latest version with pip install git+https://github.com/pybluez/pybluez.git#egg=pybluez
if you get a build error like this run
sudo apt-get install libbluetooth-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants