2016-05-17 15 views
8

ich Anweisungen zur Installation gefolgt gemäß:wie AWSCLI auf einer Anaconda Python-Distribution

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

ausgeführt: conda install awscli

Ergebnis:

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 
+0

Bitte das Setup als gut sehen: https://bioconda.github.io/index.html#setup – cel

Antwort

3

Nachdem Sie Anaconda installiert haben, stellen Sie sicher, dass Ihre Standard Python ist die Installation von Anaconda, indem Sie Ihre Profildatei ausführen, zum Beispiel in bash:

$source ~/.bash_profile 

Dann Aws CLI mit Pip (sudo nicht erforderlich) installieren:

$pip install awscli 

Anschließend können Sie die Installation überprüfen, ob erfolgreich war. Zum Beispiel hatte ich das gleiche Problem. Ich verifizierte es so:

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

Jetzt können Sie es von Conda-Schmiede erhalten, eine Reihe von Community gepflegt Conda Rezepte.

conda install -c conda-forge awscli 

Quelle: Anaconda Cloud

+2

Dank! Dies ist die einzige Möglichkeit, die es mir ermöglichte, auf der Kommandozeile zu laufen. Durch eine Pip-Installation konnte ich auf Python zugreifen, aber nicht als eigenständige ausführbare Datei. –