Following this answer, this solution is working for me on windows 10,
From the anaconda prompt :
- Create a custom environnement and specify the repository channel to find the version (in my case 3.6.5)
conda create --name py365 python=3.6.5 --channel conda-forge
- Activate the new environment
conda activate py365
But the activation won't be permanent, you will need to activate each time you start the anaconda prompt
- Create a shortcut to Anaconda prompt with your choosen environment
In order to activate permanently your custom environment, you can create a anaconda prompt shortcut which new target.
Go to
C:\Users\Your_Name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Anaconda3 (64-bit)
And Copy and rename the file Anaconda Prompt (Anaconda3)
to Anaconda 3.6.5
.
Then right-click on the new file and click on "Properties".
Then change the target :
%windir%\System32\cmd.exe "/K" C:\Users\Your_Name\Anaconda3\Scripts\activate.bat C:\Users\Your_Name\Anaconda3
to
%windir%\System32\cmd.exe "/K" C:\Users\Your_Name\Anaconda3\Scripts\activate.bat C:\Users\Your_Name\Anaconda3\envs\py365
(be aware to change "Your_Name" by your "real" name )
Finally, if you go to your Windows Start menu, you will see your new shortcut "Anaconda 3.6.5" which launch the Anaconda Prompt with your choosen environment !