[英]how to install AWSCLI on a Anaconda python distribution
I followed instructions as per: 我遵循以下说明:
https://bioconda.github.io/recipes/awscli/README.html#installation
executed: conda install awscli
执行:
conda install awscli
Result: 结果:
Fetching package metadata: ....
Solving package specifications: .
Error: Package missing in current osx-64 channels:
- awscli
You can search for this package on anaconda.org with
anaconda search -t conda awscli
You may need to install the anaconda-client command line client with
conda install anaconda-client
Now you can get it from conda-forge, a set of community maintained conda recipes. 现在你可以从conda-forge获得它,这是一套社区维护的conda食谱。
conda install -c conda-forge awscli
source: Anaconda Cloud 来源: Anaconda Cloud
After you have installed Anaconda, ensure that your default Python is the Anaconda installation by running your profile file, for example, in bash: 安装Anaconda后,通过运行配置文件确保您的默认Python是Anaconda安装,例如,在bash中:
$source ~/.bash_profile
Then, install Aws CLI with pip (sudo not required): 然后,使用pip安装Aws CLI(不需要sudo):
$pip install awscli
You can then verify that the installation was successful. 然后,您可以验证安装是否成功。 For example, I had the same issue.
例如,我遇到了同样的问题。 I verified it thus:
我这样验证了它:
$ python
Python 2.7.12 |Anaconda 4.2.0 (x86_64)| (default, Jul 2 2016, 17:43:17)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> import s3transfer
>>> quit()
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.