安装anaconda出现This Python interpreter is in a conda environment, but the environment has not been acti

安装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出现This Python interpreter is in a conda environment, but the environment has not been acti_第1张图片

解决方式

使用终端或Anaconda提示符执行以下步骤。

  默认情况下,活动环境---您当前使用的环境---显示在命令提示符开头的括号()或括号[]中:(myenv) $

  如果您没有看到这个,请运行:conda info --envs

  在显示的环境列表中,当前环境以星号(*)突出显示

安装anaconda出现This Python interpreter is in a conda environment, but the environment has not been acti_第2张图片

 

然后再对环境进行激活

安装anaconda出现This Python interpreter is in a conda environment, but the environment has not been acti_第3张图片

 

你可能感兴趣的:(python)