24

I followed instructions as per:

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

executed: 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
1

2 Answers 2

42

Now you can get it from conda-forge, a set of community maintained conda recipes.

conda install -c conda-forge awscli

source: Anaconda Cloud

1
  • 4
    Thanks! This is the only way I was able to get aws to run on the command line. Doing a pip install allowed my access it from within python, but not as a standalone executable.
    – Jim Clouse
    Nov 14, 2017 at 19:44
4

After you have installed Anaconda, ensure that your default Python is the Anaconda installation by running your profile file, for example, in bash:

$source ~/.bash_profile

Then, install Aws CLI with pip (sudo not required):

$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()
1
  • sir, i did it successfully. But I want to make aws as cli command. I cant find awscli location. How to find it ? Apr 27, 2019 at 9:14

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.