-
Notifications
You must be signed in to change notification settings - Fork 43
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
Got an pkg_resources.DistributionNotFound error #10
Comments
Yes, I get this too... Not working! (Mac OS 10.13.3 with stock Python 2.7.10)
UPDATE You just need to |
After using this package to autoremove It seems the developers didn't configure the package correctly so |
So wait you are telling me that I have to install tornado for the |
These are due to packages being upgraded beyond what some depending package specifies (e.g. if you tend to do `pip list --outdated | xargs pip install --upgrade` or anything similar.) To deal with this, we ignore version requirement if VersionConflict. Not sure how we can end up in a DistributionNotFound scenario, but plenty of bug reports about it, so just ignoring those outright. Fixes invl#7, invl#9, invl#10, invl#11.
These are due to packages being upgraded beyond what some depending package specifies (e.g. if you tend to do `pip list --outdated | xargs pip install --upgrade` or anything similar.) To deal with this, we ignore version requirement if VersionConflict. Not sure how we can end up in a DistributionNotFound scenario, but plenty of bug reports about it, so just ignoring those outright. Fixes invl#7, invl#9, invl#10, invl#11.
These are due to packages being upgraded beyond what some depending package specifies (e.g. if you tend to do `pip list --outdated | xargs pip install --upgrade` or anything similar.) To deal with this, we ignore version requirement if VersionConflict. Not sure how we can end up in a DistributionNotFound scenario, but plenty of bug reports about it, so just ignoring those outright. Fixes invl#7, invl#9, invl#10.
These are due to packages being upgraded beyond what some depending package specifies (e.g. if you tend to do `pip list --outdated | xargs pip install --upgrade` or anything similar.) To deal with this, we ignore version requirement if VersionConflict. Not sure how we can end up in a DistributionNotFound scenario, but plenty of bug reports about it, so just ignoring those outright. Fixes invl#7, invl#9, invl#10.
Perhaps the best recommendation here would be not to use |
I don't believe this is the issue. I suspect one can replicate the issue by installing some package (with dependencies), uninstalling one of the dependencies on that package, and then trying to run pip-autoremove. |
Did anyone find out a solution for this? |
These are due to packages being upgraded beyond what some depending package specifies (e.g. if you tend to do `pip list --outdated | xargs pip install --upgrade` or anything similar.) To deal with this, we ignore version requirement if VersionConflict. Not sure how we can end up in a DistributionNotFound scenario, but plenty of bug reports about it, so just ignoring those outright. Fixes invl#7, invl#9, invl#10.
Should be addressed by the merge of #42 and the new release, please close if that resolves your issue. |
I installed pip-autoremove in my python 2.7 environment and as I was trying to
pip-autoremove
flake8
I got this traceback error:Traceback (most recent call last): File "/usr/local/bin/pip-autoremove", line 11, in <module> sys.exit(main()) File "/Library/Python/2.7/site-packages/pip_autoremove.py", line 109, in main autoremove(args, yes=opts.yes) File "/Library/Python/2.7/site-packages/pip_autoremove.py", line 21, in autoremove dead = list_dead(names) File "/Library/Python/2.7/site-packages/pip_autoremove.py", line 29, in list_dead graph = get_graph() File "/Library/Python/2.7/site-packages/pip_autoremove.py", line 92, in get_graph for req in requires(dist): File "/Library/Python/2.7/site-packages/pip_autoremove.py", line 98, in requires return map(get_distribution, dist.requires()) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 558, in get_distribution dist = get_provider(dist) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 438, in get_provider return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 959, in require needed = self.resolve(parse_requirements(requirements)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 846, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'tornado' distribution was not found and is required by the application
The text was updated successfully, but these errors were encountered: