我尝试使用以下命令为 anaconda 安装 python 3.7:
conda install -c anaconda python=3.7
并显示以下失败消息:
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- _license -> python=3.6
- python=3.7
Use "conda info <package>" to see the dependencies for each package.
请您参考如下方法:
以下页面提供了解决方案:https://github.com/ContinuumIO/anaconda-issues/issues/9686
并可以通过使用以下命令创建一个新的虚拟环境来解决这个问题,并且不使用默认包:
conda create -n python37 python=3.7 --no-default-packages
