problem
Installed Anaconda
after, basically at Pycharm
or Spyder
write code. Accidentally opened cmd
and found input Python
after the prompt Python 不是内部或外部命令
, but in the Anaconda Prompt
middle, but operating normally. So on Internet search, this problem has now decided to record it.
solution
Win+R
Enter cmd
, Enter, Enter
conda info --envs
Then select a setting, enter
activate xxx
For example, I typed
activate base
Thus, cmd
in normal operation can be Python
a.