Linux中的Python-pip版本冲突异常

时间:2016-11-25 08:32:18

标签: python python-3.x numpy pip

在Ubuntu 14.04中,使用PyCharm 2016.3,当我尝试安装软件包时,我得到以下内容:

$ pip install numpy

Traceback (most recent call last):

  File "/usr/local/lib/python3.4/dist-packages/setuptools-18.1-py3.4.egg/pkg_resources/__init__.py", line 651, in _build_master

  File "/usr/local/lib/python3.4/dist-packages/setuptools-18.1-py3.4.egg/pkg_resources/__init__.py", line 952, in require

  File "/usr/local/lib/python3.4/dist-packages/setuptools-18.1-py3.4.egg/pkg_resources/__init__.py", line 844, in resolve

pkg_resources.VersionConflict: (pip 9.0.1 (/usr/local/lib/python3.4/dist-packages), Requirement.parse('pip==7.1.0'))

我尝试pip install --upgrade setuptoolspip uninstall pip尝试从头开始重试,pip install --upgrade pip都给出相同的例外。

有什么想法吗?

0 个答案:

没有答案