I have Miniconda3 installed at C:\Users\me\Miniconda3, and my 'Project Interpreter' within PyCharm set to my conda environment, and that is all working correctly. However it appears that conda is not set for my path variable as if I type conda
into the PyCharm Terminal I get
'conda' is not recognized as an internal or external command, operable program or batch file.
Is there a way to set the PyCharm Terminal to behave like the Anaconda Prompt?
I have Windows 10, PyCharm 2018.1 EAP, and conda 4.4.10 installed.
Windows: You'll find Anaconda Navigator in the Start menu. Linux: Open a terminal window and run the command anaconda-navigator .
From the Start menu, search for and open "Anaconda Prompt."
Go with the mouse to the Windows Icon (lower left) and start typing "Anaconda". There should show up some matching entries. Select "Anaconda Prompt". A new command window, named "Anaconda Prompt" will open.
You can change pycharm settings to achieve this.
In Settings > Tools > Terminal, change the Shell path
as following:
cmd.exe "/K" "C:\Users\me\Miniconda3\Scripts\activate.bat" "C:\Users\me\Miniconda3"
And the C:\Users\me\Miniconda3
can be replaced by either one of your conda environment name such as base
Close the Terminal and reopen it, you will get the Anaconda prompt.
It works in my PyCharm Community Edition 2018.1.2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With