如何在Anaconda python发行版上安装AWSCLI

时间:2016-05-17 17:40:59

标签: python anaconda aws-cli

我遵循了以下说明:

move_goat_we w w (1)
move_empty_ew w e w (1)
move_cabbage_we w e (1)
move_goat_ew w e (1)
move_wolf_we w e (1)
move_empty_ew e w e (1)
move_goat_we e e (1)
Plan length: 7 step(s).
Plan cost: 7

已执行:https://bioconda.github.io/recipes/awscli/README.html#installation

结果:

conda install awscli

2 个答案:

答案 0 :(得分:26)

现在你可以从conda-forge获得它,这是一套社区维护的conda食谱。

conda install -c conda-forge awscli

来源:Anaconda Cloud

答案 1 :(得分:5)

安装Anaconda后,通过运行配置文件确保您的默认Python是Anaconda安装,例如,在bash中:

$source ~/.bash_profile

然后,使用pip安装Aws CLI(不需要sudo):

$pip install awscli

然后,您可以验证安装是否成功。例如,我遇到了同样的问题。我这样验证了它:

$ 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()