Python pip pkg_resources.DistributionNotFound -
pip sees package of version 1.4.0
, complains need >=0.9.34
version of it. isn't 1.4.0 > 0.9.34
?
root@36e7a0a55174:~/tldr-integration-tests# pip show testtools --- name: testtools version: 1.4.0 location: /usr/local/lib/python2.7/dist-packages requires: python-mimeparse, unittest2, extras root@36e7a0a55174:~/tldr-integration-tests# lettuce ./tldr_integration_tests traceback (most recent call last): file "/usr/local/bin/lettuce", line 5, in <module> pkg_resources import load_entry_point file "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module> working_set.require(__requires__) file "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require needed = self.resolve(parse_requirements(requirements)) file "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve raise distributionnotfound(req) pkg_resources.distributionnotfound: testtools>=0.9.34 root@36e7a0a55174:~/tldr-integration-tests# pip --version pip 1.5.6 /usr/local/lib/python2.7/dist-packages/pip-1.5.6-py2.7.egg (python 2.7)
pip install -u setuptools
helped
Comments
Post a Comment