LINUX.ORG.RU

Ошибка ПИП

 ,


0

1
root@laptop:~# pip
Traceback (most recent call last):
  File "/usr/local/bin/pip", line 8, in <module>
    load_entry_point('pip==1.1', 'console_scripts', 'pip')()
  File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 318, in load_entry_point
    """Locate distribution `dist_spec` and run its `script_name` script"""
  File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 2221, in load_entry_point
    for line in self.get_metadata_lines(name):
  File "/usr/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 1954, in load
    """
  File "/usr/local/lib/python2.7/dist-packages/pip-1.1-py2.7.egg/pip/__init__.py", line 11, in <module>
    from pip.basecommand import command_dict, load_command, load_all_commands, command_names
  File "/usr/local/lib/python2.7/dist-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 12, in <module>
    from pip.download import urlopen
  File "/usr/local/lib/python2.7/dist-packages/pip-1.1-py2.7.egg/pip/download.py", line 15, in <module>
    from pip.vcs import vcs
  File "/usr/local/lib/python2.7/dist-packages/pip-1.1-py2.7.egg/pip/vcs/__init__.py", line 81, in <module>
    vcs = VcsSupport()
  File "/usr/local/lib/python2.7/dist-packages/pip-1.1-py2.7.egg/pip/vcs/__init__.py", line 22, in __init__
    urlparse.uses_fragment.extend(self.schemes)
AttributeError: 'module' object has no attribute 'uses_fragment'

ЧЯДНТ?

★★★★★

Последнее исправление: Debasher (всего исправлений: 1)

А, всё, починил.

Debasher ★★★★★
() автор топика

Да, баг в pip, virtualenv и с обновлением python-а. В дебиане уже исправили.

Breton
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.