3 ms·
I tried installing it via pip on CentOS 6.6, and I get: Traceback (most recent call last): File "/usr/bin/mycli", line 5, in <module> from pkg_resources
by trashcan 11y ago
I tried installing it via pip on CentOS 6.6, and I get:
Traceback (most recent call last):
File "/usr/bin/mycli", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
working_set.require(__requires__)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: six>=1.8
Am I missing something obvious?
- amjith 11y agoI've heard it from someone else as well. I couldn't reproduce it myself. The suggested solution was to uninstall mycli and reinstall directly from github. pip uninstall mycli six; pip install https://github.com/dbcli/mycli/archive/master.zip https://github.com/dbcli/mycli/archive/master.zip
- autotune 11y agoYep, getting the same issue: [foo@chef-solo ~]$ mycli Traceback (most recent call last): File "/usr/bin/mycli", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module> working_set.require(__requires__) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: six>=1.8 Running sudo python install did the trick. I'm not sure I can really recommending anyone check this out without a working install from a package manager though.