Python 在Macos上使用anaconda安装AWS elastic beanstalk CLI是否解决与urllib3的冲突?
我正在尝试使用Python 在Macos上使用anaconda安装AWS elastic beanstalk CLI是否解决与urllib3的冲突?,python,macos,amazon-elastic-beanstalk,conda,Python,Macos,Amazon Elastic Beanstalk,Conda,我正在尝试使用conda install-c davidbgonzalez awsebcli安装aws elastic beanstalk的cli,但我一直遇到以下错误: /Users/deepak/.local/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.23) or chardet (3.0.4) doesn't match a supported ver
conda install-c davidbgonzalez awsebcli
安装aws elastic beanstalk的cli,但我一直遇到以下错误:
/Users/deepak/.local/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.23) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- awsebcli
- urllib3
Use "conda info <package>" to see the dependencies for each package.
我使用pip uninstall卸载了加密和idna,但冲突没有发生-我在康达安装-c davidbgonzalez awsebcli时收到了相同的错误
这里怎么了?可能是您的
conda
lib目录中已经有了urlib3
。在尝试安装awsebcli
之前,您是否尝试过卸载urlliub3
无论如何,官方不支持使用conda
安装awsebcli
。此外,conda install-c davidbgonzalez awsebcli
安装了将近2年的awsebcli
版本
我尝试了一个pip安装awsebcli-它安装正确,但我无法找到可执行文件,因此不确定如何包含它
您是以
sudo
的身份安装的吗?如果是这样,它将使您的用户无法读取它(因为它不在您的路径中)。这是一个常见的陷阱。我建议使用。让我知道这是否有效。我安装了pip,它也能正常工作——尽管没有使用virtualenv。谢谢你,伙计
/Users/deepak/.local/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.23) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
urllib3 1.21.1 py27_0
---------------------
file name : urllib3-1.21.1-py27_0.tar.bz2
name : urllib3
version : 1.21.1
build string: py27_0
build number: 0
channel : https://repo.anaconda.com/pkgs/free/osx-64
size : 151 KB
arch : x86_64
constrains : ()
date : 2017-06-21
license : MIT
license_family: MIT
md5 : 57332c18a93a2d82131212d52a0bafbf
platform : darwin
subdir : osx-64
url : https://repo.anaconda.com/pkgs/free/osx-64/urllib3-1.21.1-py27_0.tar.bz2
dependencies:
certifi
cryptography >=1.3.4
idna >=2.0.0
ipaddress
pyopenssl >=0.14
pysocks >=1.5.6,<2.0,!=1.5.7
python 2.7*
urllib3 1.21.1 py36_0
---------------------
file name : urllib3-1.21.1-py36_0.tar.bz2
name : urllib3
version : 1.21.1
build string: py36_0
build number: 0
channel : https://repo.anaconda.com/pkgs/free/osx-64
size : 153 KB
arch : x86_64
constrains : ()
date : 2017-06-21
license : MIT
license_family: MIT
md5 : 676e7d5b7366f2636edde60a528dbb22
platform : darwin
subdir : osx-64
url : https://repo.anaconda.com/pkgs/free/osx-64/urllib3-1.21.1-py36_0.tar.bz2
dependencies:
certifi
cryptography >=1.3.4
idna >=2.0.0
pyopenssl >=0.14
pysocks >=1.5.6,<2.0,!=1.5.7
python 3.6*
urllib3 1.21.1 py35_0
---------------------
file name : urllib3-1.21.1-py35_0.tar.bz2
name : urllib3
version : 1.21.1
build string: py35_0
build number: 0
channel : https://repo.anaconda.com/pkgs/free/osx-64
size : 154 KB
arch : x86_64
constrains : ()
date : 2017-06-21
license : MIT
license_family: MIT
md5 : 1c5e2fdfed928117f86c0a89c0b97b19
platform : darwin
subdir : osx-64
url : https://repo.anaconda.com/pkgs/free/osx-64/urllib3-1.21.1-py35_0.tar.bz2
dependencies:
certifi
cryptography >=1.3.4
idna >=2.0.0
pyopenssl >=0.14
pysocks >=1.5.6,<2.0,!=1.5.7
python 3.5*
urllib3 1.23 py35_0
-------------------
file name : urllib3-1.23-py35_0.tar.bz2
name : urllib3
version : 1.23
build string: py35_0
build number: 0
channel : https://repo.anaconda.com/pkgs/main/osx-64
size : 152 KB
arch : None
constrains : ()
license : MIT
license_family: MIT
md5 : 7e349638ccb5faad1b2f4378657e969f
platform : None
subdir : osx-64
timestamp : 1529348179047
url : https://repo.anaconda.com/pkgs/main/osx-64/urllib3-1.23-py35_0.tar.bz2
dependencies:
certifi
cryptography >=1.3.4
idna >=2.0.0
pyopenssl >=0.14
pysocks >=1.5.6,<2.0,!=1.5.7
python >=3.5,<3.6.0a0
urllib3 1.23 py27_0
-------------------
file name : urllib3-1.23-py27_0.tar.bz2
name : urllib3
version : 1.23
build string: py27_0
build number: 0
channel : https://repo.anaconda.com/pkgs/main/osx-64
size : 150 KB
arch : None
constrains : ()
license : MIT
license_family: MIT
md5 : 10fa8961318553993367293d607cd870
platform : None
subdir : osx-64
timestamp : 1529348370587
url : https://repo.anaconda.com/pkgs/main/osx-64/urllib3-1.23-py27_0.tar.bz2
dependencies:
certifi
cryptography >=1.3.4
idna >=2.0.0
ipaddress
pyopenssl >=0.14
pysocks >=1.5.6,<2.0,!=1.5.7
python >=2.7,<2.8.0a0
urllib3 1.22 py35he002d57_0
---------------------------
file name : urllib3-1.22-py35he002d57_0.tar.bz2
name : urllib3
version : 1.22
build string: py35he002d57_0
build number: 0
channel : https://repo.anaconda.com/pkgs/main/osx-64
size : 156 KB
arch : None
constrains : ()
license : MIT
license_family: MIT
md5 : caf79d85b6ad4c487988886198b7ad36
platform : None
subdir : osx-64
timestamp : 1505923648539
url : https://repo.anaconda.com/pkgs/main/osx-64/urllib3-1.22-py35he002d57_0.tar.bz2
dependencies:
certifi
cryptography >=1.3.4
idna >=2.0.0
pyopenssl >=0.14
pysocks >=1.5.6,<2.0,!=1.5.7
python >=3.5,<3.6.0a0
urllib3 1.23 py36_0
-------------------
file name : urllib3-1.23-py36_0.tar.bz2
name : urllib3
version : 1.23
build string: py36_0
build number: 0
channel : https://repo.anaconda.com/pkgs/main/osx-64
size : 152 KB
arch : None
constrains : ()
license : MIT
license_family: MIT
md5 : f582f82965d2bbdd0ac3b5b034ee2af4
platform : None
subdir : osx-64
timestamp : 1529348338677
url : https://repo.anaconda.com/pkgs/main/osx-64/urllib3-1.23-py36_0.tar.bz2
dependencies:
certifi
cryptography >=1.3.4
idna >=2.0.0
pyopenssl >=0.14
pysocks >=1.5.6,<2.0,!=1.5.7
python >=3.6,<3.7.0a0
urllib3 1.23 py37_0
-------------------
file name : urllib3-1.23-py37_0.tar.bz2
name : urllib3
version : 1.23
build string: py37_0
build number: 0
channel : https://repo.anaconda.com/pkgs/main/osx-64
size : 152 KB
arch : None
constrains : ()
license : MIT
license_family: MIT
md5 : 3cf975556522788681a2c6caf7a955ae
platform : None
subdir : osx-64
timestamp : 1530723151837
url : https://repo.anaconda.com/pkgs/main/osx-64/urllib3-1.23-py37_0.tar.bz2
dependencies:
certifi
cryptography >=1.3.4
idna >=2.0.0
pyopenssl >=0.14
pysocks >=1.5.6,<2.0,!=1.5.7
python >=3.7,<3.8.0a0
urllib3 1.22 py27hc3787e9_0
---------------------------
file name : urllib3-1.22-py27hc3787e9_0.tar.bz2
name : urllib3
version : 1.22
build string: py27hc3787e9_0
build number: 0
channel : https://repo.anaconda.com/pkgs/main/osx-64
size : 153 KB
arch : None
constrains : ()
license : MIT
license_family: MIT
md5 : 5c91bc08e0a7c2cf3726fea8bc6c504e
platform : None
subdir : osx-64
timestamp : 1505923615525
url : https://repo.anaconda.com/pkgs/main/osx-64/urllib3-1.22-py27hc3787e9_0.tar.bz2
dependencies:
certifi
cryptography >=1.3.4
idna >=2.0.0
ipaddress
pyopenssl >=0.14
pysocks >=1.5.6,<2.0,!=1.5.7
python >=2.7,<2.8.0a0
urllib3 1.22 py36h68b9469_0
---------------------------
file name : urllib3-1.22-py36h68b9469_0.tar.bz2
name : urllib3
version : 1.22
build string: py36h68b9469_0
build number: 0
channel : https://repo.anaconda.com/pkgs/main/osx-64
size : 155 KB
arch : None
constrains : ()
license : MIT
license_family: MIT
md5 : 603417ae48ed5fa80d809dfb91c47f55
platform : None
subdir : osx-64
timestamp : 1505923681524
url : https://repo.anaconda.com/pkgs/main/osx-64/urllib3-1.22-py36h68b9469_0.tar.bz2
dependencies:
certifi
cryptography >=1.3.4
idna >=2.0.0
pyopenssl >=0.14
pysocks >=1.5.6,<2.0,!=1.5.7
python >=3.6,<3.7.0a0