康达安装降级python版本 [英] conda install downgrade python version

查看:74
本文介绍了康达安装降级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:

警告:此命令将覆盖默认的python版本 system-wise

WARNING: This command will overwrite the default python version system-wise

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 允许环境使用所有anaconda软件包

The anaconda at the end allows the env to use all anaconda packages


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

For more information refere to Anaconda documentation

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆