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

ModuleNotFoundError: No module named 'pkg_resources' #36

Open
Rajdave69 opened this issue Jan 30, 2024 · 2 comments
Open

ModuleNotFoundError: No module named 'pkg_resources' #36

Rajdave69 opened this issue Jan 30, 2024 · 2 comments

Comments

@Rajdave69
Copy link

Traceback (most recent call last):
  File "C:\Users\Raj Dave\Desktop\New folder\main.py", line 5, in <module>
    import mplcyberpunk
  File "C:\Users\Raj Dave\AppData\Local\Programs\Python\Python312\Lib\site-packages\mplcyberpunk\__init__.py", line 4, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

python 3.12

happens when I'm trying to import it

@demming
Copy link

demming commented Feb 10, 2024

you need setuptools, check if you have it

@ScriptPup
Copy link

If setup tools is required for importing the module, it'd be a good idea to add it to the setup.py install_requires. Though, better would be to ensure it doesn't require setuptools for normal usage. That being said, it's a cool style! Thanks for making it!

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