I thought that this would simply be done by running pip install within the environment (after source activate). But in my case, pip install affects ALL my environments.
For example, I am trying to install an older version of torch only in env1, but if I run pip install torch==1.1.0 after source activate env1 all my environments have torch version 1.1.0.
I also tried manually running pip as described in this answer
but it didn't work.
How can I fix that?
Versions
- Anaconda 3, 2019.07
- Python 3.7