Python easy_install错误版本冲突

时间:2018-02-13 08:25:27

标签: python pip setuptools easy-install

我尝试使用setuptools(如此

)从源代码构建docker-compose
python setup.py develop

但我得到了以下错误:

error: requests 2.11.1 is installed but requests!=2.18.0,>=2.14.2 is required by set(['docker'])

但正在运行

pip show requests

给出以下结果:

Name: requests
Version: 2.18.4
Summary: Python HTTP for Humans.
Home-page: http://python-requests.org
Author: Kenneth Reitz
Author-email: me@kennethreitz.org
License: Apache 2.0
Location: /home/florian/.local/lib/python2.7/site-packages
Requires: certifi, chardet, idna, urllib3

setuptools或类似的东西有什么缓存吗?

2 个答案:

答案 0 :(得分:0)

尝试

sudo pip install --upgrade docker-compose 

答案 1 :(得分:0)

git repo源代码中存在一个问题,阻止我构建。