降级到Python 3.5 - python.app冲突

时间:2018-03-15 14:32:03

标签: python conflict downgrade

我正在尝试降级Python,因此我可以使用与3.6不兼容的模块。我当前的模块都不是非原生模块,因为我只是清理已安装的Anaconda。

conda install python=3.5.5
Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:
  - python.app -> python[version='>=3.6,<3.7.0a0'] -> readline==6.2
  - python.app -> python[version='>=3.6,<3.7.0a0'] -> sqlite=3.13
  - python.app -> python[version='>=3.6,<3.7.0a0'] -> tk==8.5.18
  - python=3.5.5
Use "conda info <package>" to see the dependencies for each package.

我不知道如何解释这个。与Python的本机包有冲突吗?

1 个答案:

答案 0 :(得分:1)

而不是安装尝试使用python 3.5.5创建虚拟环境 &#34; conda create -n python = 3.5.5&#34;然后尝试在激活的环境中安装所需的软件包。

参考:https://conda.io/docs/user-guide/tasks/manage-environments.html#creating-an-environment-with-commands