使用 conda 升级到 python 3.8

Upgrade to python 3.8 using conda(使用 conda 升级到 python 3.8)
本文介绍了使用 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 中使用命令将你的 python 版本更新到 3.8

You can update your python version to 3.8 in conda using the command

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

可以解决一些依赖失败.您还可以使用此命令创建一个名为 py38 的新环境

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 选项可能需要一段时间才能解决环境问题,如果你试图在中途中止这个,你将失去你的 Python 安装(通常这意味着它会求助于非 conda 预安装系统 Python 安装).

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

groupby multiple coords along a single dimension in xarray(在xarray中按单个维度的多个坐标分组)
Group by and Sum in Pandas without losing columns(Pandas中的GROUP BY AND SUM不丢失列)
Group by + New Column + Grab value former row based on conditionals(GROUP BY+新列+基于条件的前一行抓取值)
Groupby and interpolate in Pandas(PANDA中的Groupby算法和插值算法)
Pandas - Group Rows based on a column and replace NaN with non-null values(PANAS-基于列对行进行分组,并将NaN替换为非空值)
Grouping pandas DataFrame by 10 minute intervals(按10分钟间隔对 pandas 数据帧进行分组)