Skip to content Skip to sidebar Skip to footer

How To Install Specific Awscli Version In Conda Env (running 3.6) When Not Found In Current Channels

I am trying to install a specific version of awscli within my conda environment (running python 3.6). I have tried adding conda-forge to my current channels, as suggested in anothe

Solution 1:

Quoting from conda miths and misconceptions by Jake VanderPlas:

If all you are doing is installing Python packages within an isolated environment, conda and pip+virtualenv are mostly interchangeable, modulo some difference in dependency handling and package availability. By isolated environment I mean a conda-env or virtualenv, in which you can install packages without modifying your system Python installation.

You can try to activate your virtual environment and just install it using any of the standard methods. Supposing you have created a conda virtual environment named py36:

$ source activate py36

Or on Windows

> activate py36

Then you just use any of the standard install methods, for example:

$ pip install awscli==1.11.156
$ easy_install https://github.com/aws/aws-cli/archive/1.11.156.tar.gz

The downside is that conda is not managing dependencies for packages installed using pip but in most cases it is OK.

Post a Comment for "How To Install Specific Awscli Version In Conda Env (running 3.6) When Not Found In Current Channels"