Upgrade to python 3.8 using conda(使用 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:使用 conda 升级到 python 3.8


基础教程推荐
- 使用 Google App Engine (Python) 将文件上传到 Google Cloud Storage 2022-01-01
- 将 YAML 文件转换为 python dict 2022-01-01
- 使 Python 脚本在 Windows 上运行而不指定“.py";延期 2022-01-01
- 合并具有多索引的两个数据帧 2022-01-01
- 症状类型错误:无法确定关系的真值 2022-01-01
- 如何在 Python 中检测文件是否为二进制(非文本)文 2022-01-01
- 使用Python匹配Stata加权xtil命令的确定方法? 2022-01-01
- 如何在Python中绘制多元函数? 2022-01-01
- Python 的 List 是如何实现的? 2022-01-01
- 哪些 Python 包提供独立的事件系统? 2022-01-01