蟒蛇安装Python 3.7失败

Ren*_* B. 1 python anaconda

我尝试使用以下命令为anaconda安装python 3.7:

conda install -c anaconda python=3.7
Run Code Online (Sandbox Code Playgroud)

其显示以下失败消息:

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.
Run Code Online (Sandbox Code Playgroud)

Ren*_* B. 5

以下页面提供了一种解决方案:https : //github.com/ContinuumIO/anaconda-issues/issues/9686

并可以通过使用以下命令创建新的虚拟环境来解决该问题,而无需使用默认软件包:

conda create -n python37 python=3.7 --no-default-packages
Run Code Online (Sandbox Code Playgroud)