cmd activate Anaconda Python runtime environment

problem

Installed Anacondaafter, basically at Pycharmor Spyderwrite code. Accidentally opened cmdand found input Pythonafter the prompt Python 不是内部或外部命令, but in the Anaconda Promptmiddle, but operating normally. So on Internet search, this problem has now decided to record it.

Here Insert Picture Description

solution

Win+REnter cmd, Enter, Enter

conda info --envs

Then select a setting, enter

activate xxx

For example, I typed

activate base

Here Insert Picture Description
Thus, cmdin normal operation can be Pythona.

Acknowledgments

White anaconda novice how to activate Operating Environment

Published 298 original articles · won praise 391 · Views 250,000 +

Guess you like

Origin blog.csdn.net/Wonz5130/article/details/104092634