如何在蟒蛇蟒蛇分布安装AWSCLI
问题描述:
我跟着指示按:如何在蟒蛇蟒蛇分布安装AWSCLI
https://bioconda.github.io/recipes/awscli/README.html#installation
执行:conda install awscli
结果:
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
答
您已经安装了蟒蛇后,确保您的默认的Python是Anaconda安装,通过运行你的配置文件,例如,在bash中:
$source ~/.bash_profile
然后,安装AWS CLI与PIP(须藤不是必需的):
$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()
答
+2
谢谢!这是我能够使命令在命令行上运行的唯一方法。做一个点安装允许我在python中访问它,但不能作为一个独立的可执行文件。 –
请参阅设置藏汉:https://bioconda.github.io/index.html#setup – cel