我试图使用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.
现在这个错误出现在许多库中——不仅仅是urllib3;但是对于每一个库,我都可以通过使用conda uninstall
或{
帮忙吗?在
附言:我使用MacOS和Conda4.5.9安装和Python2.7.14。 我尝试了一个pip install awsebcli-它安装正确,但我无法找到可执行文件,因此不确定如何将其包含到“$PATH”变量中。所以,我想我需要使用conda安装,因为这是我在任何地方使用的主要python。在
更新:
这是conda info urllib3
的结果
我使用pip uninstall卸载了加密和idna,但是冲突没有发生-当我conda install -c davidbgonzalez awsebcli
时,我得到了相同的错误。在
这里怎么了?在
可能是您的
conda
lib目录中已经有一个urllib3
。在尝试安装awsebcli
之前,您是否尝试过卸载urlliub3
?在无论如何,使用}不受正式支持。此外,
conda
安装{conda install -c davidbgonzalez awsebcli
安装了一个将近2年的awsebcli
版本。在你把它安装成} for the sanest experience 。让我知道这是否有效。在
sudo
了吗?如果是这样,它将使您的用户无法读取(因为它不在您的路径中)。这是一个常见的陷阱。我建议使用virtualenv with ^{相关问题 更多 >
编程相关推荐