Reputation: 1998
Is it possible to install Anaconda 2 twice in different folders without any issues?
I need an older version for one package and a newer one for another.
Upvotes: 0
Views: 976
Reputation: 2741
If your use case is only for using different versions for the same package, I would suggest to create different environments. For example, assume that you have a version for pyqt
in your current environment, but you need a previous version for a dependency. The following command will create a new environment named oldqt
, with version 4 of pyqt
.
conda create -n oldqt pyqt=4
Afterwards, you can activate the new environment as below.
MacOS:
source activate oldqt
Windows
conda activate oldqt
Note that you need to install everything into your new environment, it is like a clean installation of anaconda. More information on conda environments is here.
Upvotes: 1