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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
使用 python 解析非常大的 xml 文件时出现问题Troubles while parsing with python very large xml file(使用 python 解析非常大的 xml 文件时出现问题)
使用 Python 2 在 XML 中按属性查找所有节点Find all nodes by attribute in XML using Python 2(使用 Python 2 在 XML 中按属性查找所有节点)
Python - 如何解析 xml 响应并将元素值存储在变量中Python - How to parse xml response and store a elements value in a variable?(Python - 如何解析 xml 响应并将元素值存储在变量中?)
如何在 Python 中获取 XML 标记值How to get XML tag value in Python(如何在 Python 中获取 XML 标记值)
如何使用 ElementTree 正确解析 utf-8 xml?How to correctly parse utf-8 xml with ElementTree?(如何使用 ElementTree 正确解析 utf-8 xml?)
将 XML 从 URL 解析为 python 对象Parse XML from URL into python object(将 XML 从 URL 解析为 python 对象)