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
基础教程推荐
- 包装空间模型 2022-01-01
- 修改列表中的数据帧不起作用 2022-01-01
- 在同一图形上绘制Bokeh的烛台和音量条 2022-01-01
- PANDA VALUE_COUNTS包含GROUP BY之前的所有值 2022-01-01
- Plotly:如何设置绘图图形的样式,使其不显示缺失日期的间隙? 2022-01-01
- 无法导入 Pytorch [WinError 126] 找不到指定的模块 2022-01-01
- 在Python中从Azure BLOB存储中读取文件 2022-01-01
- 求两个直方图的卷积 2022-01-01
- PermissionError: pip 从 8.1.1 升级到 8.1.2 2022-01-01
- 使用大型矩阵时禁止 Pycharm 输出中的自动换行符 2022-01-01
