使用conda升级到python 3.8 [英] Upgrade to python 3.8 using conda

查看:7174
本文介绍了使用conda升级到python 3.8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Python 3.8.0已经发布,但是我找不到关于如何使用conda更新到python 3.8的任何文章-也许他们会等待正式发布?有什么建议吗?

Python 3.8.0 is out, but I haven't been able to find any post on how to update to python 3.8 using conda - maybe they will wait for the official release? Any suggestions?

推荐答案

您可以使用

conda install -c anaconda python=3.8

根据 https://anaconda.org/anaconda/python 进行.尽管并非所有软件包都支持3.8,但仍可以运行

as per https://anaconda.org/anaconda/python. Though not all packages support 3.8 yet, running

conda update --all

可以解决某些依赖项失败.您还可以使用此命令

may resolve some dependency failures. You can also create a new environment called py38 using this command

conda create -n py38 python=3.8

编辑-请注意,conda install选项可能需要一段时间才能

Edit - note that the conda install option will potentially take a while to solve the environment, and if you try to abort this midway through you will lose your Python installation (usually this means it will resort to non-conda pre-installed system Python installation).

这篇关于使用conda升级到python 3.8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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