本文介绍了康达安装降级python版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过 conda install python = 3.3 降级蟒蛇的python版本,但出现以下错误:

I'm trying to downgrade python version of anaconda via conda install python=3.3, but have following error:

~/anaconda3/bin$ ./conda install python=3.3
Fetching package metadata .........
Solving package specifications: .


UnsatisfiableError: The following specifications were found to be in conflict:
  - gevent -> python 2.6*
  - python 3.3*
Use "conda info <package>" to see the dependencies for each package.

如何解决与软件包的冲突?

How to resolve conflicts with the packages?

推荐答案

如果要设置特定版本,请按以下方式使用它:

If you want to set specific version, use it like this:

conda install python=3.6


要创建具有特定版本的环境,您可以执行以下操作:

To create environment with a specific version, you can do:

conda create -n $PYTHON36_ENV_NAME python=3.6 anaconda  # set custom env name


有关更多信息,请参考 Anaconda文档

For more information refere to Anaconda documentation

这篇关于康达安装降级python版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 11:13
查看更多