DEV Community

loading...

Discussion on: Easily add Anaconda Prompt to Windows Terminal to make life better

Collapse
dschneiderch profile image
Dominik Schneider

is there anyway to add a command to run in the conda environment? I'd like to set up a profile for radian github.com/randy3k/radian which is installed in a conda environment.

Collapse
cassieview profile image
Cassie Author

Update the command line to the following:
"commandline": "cmd.exe /K %USERPROFILE%\\AppData\\Local\\Continuum\\anaconda3\\Scripts\\activate.bat & radian"

Collapse
dschneiderch profile image
Dominik Schneider

Thanks! I ended up with this actually - specifying the miniconda3 folder specifies the root environment which is not totally necessary in this case but useful if radian isn't in root.

 "commandline": "cmd.exe /K %USERPROFILE%/Miniconda3/Scripts/activate.bat %USERPROFILE%/Miniconda3 && radian.exe",