我尝试使用以下命令为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)
以下页面提供了一种解决方案:https : //github.com/ContinuumIO/anaconda-issues/issues/9686
并可以通过使用以下命令创建新的虚拟环境来解决该问题,而无需使用默认软件包:
conda create -n python37 python=3.7 --no-default-packages
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3230 次 |
| 最近记录: |