|
楼主 |
发表于 2018-4-24 13:27:23
|
显示全部楼层
[root@Centos176 ~]# pip install cymysql
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in
load_entry_point('pip==10.0.1', 'console_scripts', 'pip')()
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 299, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2229, in load_entry_point
return ep.load()
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.6/site-packages/pip-10.0.1-py2.6.egg/pip/_internal/__init__.py", line 42, in
from pip._internal import cmdoptions
File "/usr/lib/python2.6/site-packages/pip-10.0.1-py2.6.egg/pip/_internal/cmdoptions.py", line 16, in
from pip._internal.index import (
File "/usr/lib/python2.6/site-packages/pip-10.0.1-py2.6.egg/pip/_internal/index.py", line 526
{str(c.version) for c in all_candidates},
^
SyntaxError: invalid syntax
|
|