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

fixed "error in PyBluez setup command: use_2to3 is invalid." during docker build #84

Merged
merged 2 commits into from
Aug 19, 2022

Conversation

TomHutter
Copy link
Contributor

docker build . breaks with:

  × 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]

Found: https://stackoverflow.com/questions/69100275/error-while-downloading-the-requirements-using-pip-install-setup-command-use-2

Fixed by adding fixed setuptools version (pip3 install setuptools==v57.5.0).

@TheWeirdDev
Copy link
Owner

I think version 58.0.0 would also work. Can you try and update the Dockerfile?

@TomHutter
Copy link
Contributor Author

You are right. Set version to setuptools==v58.0.0.

@TheWeirdDev TheWeirdDev merged commit 3604d84 into TheWeirdDev:master Aug 19, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants