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

pkg_resources.DistributionNotFound #58

Open
Li-ZhiD opened this issue Sep 6, 2021 · 0 comments
Open

pkg_resources.DistributionNotFound #58

Li-ZhiD opened this issue Sep 6, 2021 · 0 comments

Comments

@Li-ZhiD
Copy link

Li-ZhiD commented Sep 6, 2021

I installed lastest IDR (2.0.3) with:
python3 setup.py install --/mnt/data0/lizhidan/software/idr-2.0.3
then, ran:
idr
got:
File "/home/lizhidan/.local/bin/idr", line 4, in <module> __import__('pkg_resources').run_script('idr==2.0.3', 'idr') File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3254, in <module> def _initialize_master_working_set(): File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3237, in _call_aside f(*args, **kwargs) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3266, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 584, in _build_master ws.require(__requires__) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 901, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 787, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'idr==2.0.3' distribution was not found and is required by the application

Can someone tell how to fix 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

1 participant