Usually, we activate a conda environment with the command:
source activate env_name
Is it possible to activate conda environment with its f
You can activate an environment that is not in your conda environment list by passing the path to the environment. For example you can create an environment in any directory you want with the -p
argument. Like so:
conda create -p /path/to/some/location/mytestenv/ python=3.5
This will NOT show up in conda env list
, but you can activate it with:
source activate /path/to/some/location/mytestenv