pip list错误
pip install --upgrade pip 也无效
------------------------------------------------------------
/usr/bin/pip run on Tue Jul 5 17:01:59 2016
adium-theme-ubuntu (0.3.4)
apt-xapian-index (0.45)
argparse (1.2.1)
beautifulsoup4 (4.3.2)
bypy (1.2.22)
chardet (2.0.1)
colorama (0.3.7)
command-not-found (0.3)
cssselect (0.9.2)
cvxopt (1.1.4)
debtagshw (0.1)
decorator (3.4.0)
defer (1.0.6)
dirspec (13.10)
Django (1.9.7)
django-tagging (0.4.3)
dnspython (1.11.1)
docutils (0.12)
duplicity (0.6.23)
enum (0.4.6)
f.lux-indicator-applet (1.1.8)
gitdb (0.6.4)
GitPython (2.0.5)
gyp (0.1)
html5lib (0.999)
httplib2 (0.8)
Jinja2 (2.8)
joblib (0.8.3)
lockfile (0.8)
lxml (3.3.3)
MarkupSafe (0.23)
matplotlib (1.3.1)
ndg-httpsclient (0.3.2)
nose (1.3.4)
numexpr (2.4)
numpy (1.8.2)
oauthlib (0.6.1)
oneconf (0.3.7.14.4.1)
openpyxl (1.7.0)
PAM (0.4.2)
pandas (0.15.0)
parameters (0.2.1)
parsel (1.0.2)
patsy (0.3.0)
pexpect (3.1)
Pillow (2.3.0)
pip (1.5.4)
piston-mini-client (0.7.5)
pyasn1 (0.1.7)
pycrypto (2.6.1)
pycups (1.9.66)
pydispatch (1.1.0)
Pygments (2.1.3)
pygobject (3.12.0)
pyOpenSSL (0.13)
pyparsing (2.0.1)
pyserial (2.6)
pysmbc (1.0.14.1)
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 80, in run
self.run_listing(options)
File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 142, in run_listing
self.output_package_listing(installed_packages)
File "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 151, in output_package_listing
if dist_is_editable(dist):
File "/usr/lib/python2.7/dist-packages/pip/util.py", line 366, in dist_is_editable
req = FrozenRequirement.from_dist(dist, [])
File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 286, in from_dist
assert len(specs) == 1 and specs[0][0] == '=='
AssertionError
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没遇到过这问题不过帮你搜索了一下错误信息
http://stackoverflow.com/questions/19460232/pip-list-crashes-with-an-assertionerror
重新安装pip吧(估计是这个问题