解决: This Python interpreter is in a conda environment, but the environment has not been activat

时间:2024-03-14 07:59:18

解决: This Python interpreter is in a conda environment, but the environment has not been activat

其实这个报错啥也不影响,可是就是看着不舒服,咋办

有一种解决办法,就是你再重新装个python,不要在命令行端使用Anaconda的自带python

网络的第二种解决办法,命令行运行activate,输入python即可,实践证明仅单次有效。【很多水贴说conda activate virtual然后再coda deactivate是正确的】,换句话说,如果你要使用虚拟环境,就别用conda了。