安装anaconda 后在命令行中出现:
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 https://conda.io/activation
原因
出现这种错误是因为安装的是Anaconda中带的python版本,python处于conda环境中,使用python需要激活;
解决方式
运行:conda info --envs 在显示的环境列表中,当前环境以星号(*)突出显示


网友评论