Installing modules to Anaconda from .tar.gz

Viewed 85409

When I want to install modules to Anaconda, I run conda install. However, now I have a .tar.gz file and want to install this. How to do?

5 Answers

Here is how to do :

Q:\anaconda3\Scripts>conda install q:\quandl-3.4.4-py37_0.tar.bz2

Downloading and Extracting Packages

########################################################################################### 
#################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

Q:\anaconda3\Scripts>

If you are using Anaconda and downloaded the package from Anaconda Cloud, then you can place your "package.tar.bz2" files in the path shown in Anaconda prompt (Eg. C:\Users) and type in the following command in Anaconda Prompt

conda install package.tar.bz2

I believe it will work for .tar.gz files too.

Just a PSA please don't use conda install <pkg.tar> when updating python from a tar.bz. This has the potential to break Anaconda.

Related