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

setuptools is a required dependency #86

Open
cpswan opened this issue Jul 31, 2024 · 0 comments
Open

setuptools is a required dependency #86

cpswan opened this issue Jul 31, 2024 · 0 comments

Comments

@cpswan
Copy link

cpswan commented Jul 31, 2024

After installing it-depends into a fresh Python 3.12 venv running it results in ModuleNotFoundError: No module named 'pkg_resources':

Traceback (most recent call last):
  File "/home/chris/python/venvs/it-depends/bin/it-depends", line 5, in <module>
    from it_depends.__main__ import main
  File "/home/chris/python/venvs/it-depends/lib/python3.12/site-packages/it_depends/__init__.py", line 5, in <module>
    from .it_depends import *
  File "/home/chris/python/venvs/it-depends/lib/python3.12/site-packages/it_depends/it_depends.py", line 2, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

Manually installing setuptools with pip install setuptools fixes that problem, but it could be fixed at source by adding setuptools to setup.py

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

1 participant