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

3.12 qr cli: ModuleNotFoundError: No module named 'pkg_resources' #348

Closed
imba-tjd opened this issue Dec 3, 2023 · 3 comments
Closed

3.12 qr cli: ModuleNotFoundError: No module named 'pkg_resources' #348

imba-tjd opened this issue Dec 3, 2023 · 3 comments

Comments

@imba-tjd
Copy link

imba-tjd commented Dec 3, 2023

As of Python 3.12, distutils has been removed. However qrcode/console_scripts.py uses pkg_resources. The temporary fix is pip install setuptools.

图片

@astrojuanlu
Copy link

Now this affects installations without setuptools in general, for example those created by uv venv.

@fmleo
Copy link

fmleo commented Sep 16, 2024

this also affects installations using poetry

@imba-tjd
Copy link
Author

fixed by #370

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