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

Windows Installation Error Python 3.12.1 #494

Open
adityasharma-tech opened this issue Feb 13, 2024 · 3 comments
Open

Windows Installation Error Python 3.12.1 #494

adityasharma-tech opened this issue Feb 13, 2024 · 3 comments

Comments

@adityasharma-tech
Copy link

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

System

  • Operating System: Windows
  • Python Version: 3.12.1
  • PyBluez Version: latest

Issue

Installation Error on windows with subprocess module

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.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. ```
@axelvanherle
Copy link

#431 (comment) solved it for me

@RealMW96
Copy link

I encountered this error both on Windows and Ubuntu as well. See

https://stackoverflow.com/questions/77247893/modulenotfounderror-no-module-named-distutils-in-python-3-12

for more help. In the end, upgrading the package setuptools to the newest version via

"python -m pip install --upgrade setuptools"

fixed it for me.

@adityasharma-tech
Copy link
Author

I fix it by installing windows c++ sdk

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

3 participants