使用conda升级到python 3.8

编程入门 行业动态 更新时间:2024-10-28 12:20:46
本文介绍了使用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

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

as per anaconda/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选项可能需要一段时间才能解决环境,如果尝试中途中止操作,则会丢失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

本文发布于:2023-07-05 22:07:25,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1042355.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:升级到   conda   python

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!