Anaconda (Python) - Cmder integration on Windows 10
Assume your Anaconda3 installation path is C:\ProgramData\Anaconda3
. On your Cmder settings Startup
→ Tasks
, add a new predefined tasks
name:
whatever
and command:
cmd /k ""%ConEmuDir%\..\init.bat"" & C:\ProgramData\Anaconda3\Scripts\activate.bat C:\ProgramData\Anaconda3
To find the Anaconda path use the following command on Anaconda Prompt:
where anaconda
For example C:\ProgramData\Anaconda3\Scripts\anaconda.exe
, the path will be C:\ProgramData\Anaconda3
Another way of doing it for miniconda:
Copy the location to the scripts folder; in my case it was:
C:\Users\yourname here\miniconda3\Scripts
In the start menu type edit and choose edit environment variables
In the window add new variable name it Path and give it a value ofthe aforementioned path
Restart Cmder and enjoy!