Warning: This Python interpreter is in a conda environment,...

在cmd命令中输入python后出现:

Warning: This Python interpreter is in a conda environment, but the environment has not been activated. Libraries may fail to load. To activate this environment please see Managing environments

解决方法:

1、输入conda info --envs或conda env list得到如下图结果,复制anaconda的位置(即base后的路径)

2、使用conda activate+路径(此处报错则按照提示先输入CALL conda.bat activate)

转载:https://zhuanlan.zhihu.com/p/550804258

posted @ 2022-11-10 15:06  白云~  阅读(325)  评论(0编辑  收藏  举报