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
发布评论