Tom*_*ter 22 python anaconda conda python-3.6
我目前通过Anaconda Continuum安装了Python 3.5.2.我正在尝试升级到Python 3.6但是当我尝试运行时遇到以下错误conda install python=3.6:
UnsatisfiableError:
The following specifications were found to be in conflict:
- enum34 -> python 2.6*|2.7*|3.3*|3.5*
- python ==3.6.0
Use "conda info " to see the dependencies for each package.
Run Code Online (Sandbox Code Playgroud)
可能是什么导致了这个?
Jim*_*y C 18
你安装了enum34,需要2.6-3.5.因此,如果不更新enum34以查看新版本是否支持3.6,删除enum34或在新环境中安装Python 3.6,则无法安装Python 3.6.
我有同样的错误,但有点不同:
UnsatisfiableError: The following specifications were found to be in conflict:
- argcomplete -> python 3.5*
- python ==3.6
Use "conda info <package>" to see the dependencies for each package.
Run Code Online (Sandbox Code Playgroud)
你可以尝试删除这样的违规包:
conda remove argcomplete conda-manager
Run Code Online (Sandbox Code Playgroud)
有时这会继续显示新的违规套餐.在这种情况下,我只是从路径中删除Anaconda安装,删除文件夹并重新安装.
然而,最终我发现Python 3.6由于与TensorFlow,OpenCV,VS2015等不兼容而不值得麻烦.所以我最终在Anaconda中将Python 3.5作为默认值:
conda install python=3.5
Run Code Online (Sandbox Code Playgroud)
上面将使用3.5覆盖conda中的Python版本,然后我遇到的大多数错误都消失了.
| 归档时间: |
|
| 查看次数: |
53739 次 |
| 最近记录: |