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

Tried to download both with file and with pip giving me the error use_2to3 #484

Open
TH3HUNT3Y opened this issue Sep 9, 2023 · 2 comments

Comments

@TH3HUNT3Y
Copy link

TH3HUNT3Y commented Sep 9, 2023

PyBluez is not under active development but we are seeking new contributors
to investigate bugs and submit patches.

System

  • Operating System:
  • Hardware: (e.g., Raspberry Pi, external Bluetooth adaptor, etc.) Android Termux
  • **Python Version:**3.11
  • **PyBluez Version:**0.23

Issue

Please provide information necessary to reproduce the issue, including sample code.
pip3 install pybluez==0.23
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.
In setup.py there is no use_2to3

If you have long logs, please post them on https://gist.github.com and link to
the Gist here.

@bsautner
Copy link

bsautner commented Sep 13, 2023

I'm banging on this darn thing myself - try installing from source to get over this error

sudo apt-get install libbluetooth-dev
pip3 install git+https://github.com/pybluez/pybluez.git#egg=pybluez

that will get you to the next bug

@TH3HUNT3Y
Copy link
Author

I'm banging on this darn thing myself - try installing from source to get over this error

sudo apt-get install libbluetooth-dev
pip3 install git+https://github.com/pybluez/pybluez.git#egg=pybluez

that will get you to the next bug

It just gives me the same error

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