recherche

Maison  >  Questions et réponses  >  le corps du texte

python - 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
PHPzPHPz2890 Il y a quelques jours419

répondre à tous(1)je répondrai

  • PHP中文网

    PHP中文网2017-04-17 18:01:52

    Je n'ai jamais rencontré ce problème, mais j'ai recherché le message d'erreur pour vous

    http://stackoverflow.com/questions/19460232/pip-list-crashes-with-an-assertionerror

    Réinstallez pip (c'est probablement le problème

    répondre
    0
  • Annulerrépondre