簡體   English   中英

Python easy_install錯誤版本沖突

[英]Python easy_install wrong version conflict

我嘗試使用這樣的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緩存了什么或類似的東西嗎?

嘗試

sudo pip install --upgrade docker-compose 

git repo源代碼中存在一個問題,使我無法構建。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM