gonzo ~/a/packages conda env list
# conda environments:
#
ppo_latest /nohome/jaan/abhishek/anaconda3/envs/ppo_latest
root * /noh
This solution is for those users who do not want to set PATH.
Sometimes setting PATH may not be desired. In my case, I had Anaconda installed and another software with a Python installation required for accessing the API, and setting PATH was creating conflicts which were difficult to resolve.
Under the Anaconda
directory (in this case Anaconda3) there is a subdirectory called envs
where all the environments are stored. When using conda activate some-environment
replace some-environment
with the actual directory location of the environment.
In my case the command is as follows.
conda activate C:\ProgramData\Anaconda3\envs\some-environment