如何使用conda安装python3.9? [英] How to install python3.9 with conda?

查看:2467
本文介绍了如何使用conda安装python3.9?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在conda环境中安装python 3.9。我尝试使用以下命令创建新的conda env,

I'm trying to install python 3.9 in a conda enviroment. I tried creating a new conda env using the following command,

conda create --name myenv python=3.9

但是我收到一条错误消息,指出未找到软件包,因为尚未发布python 3.9

But I got an error saying package not found because python 3.9 is not yet released

因此,我手动创建了一个文件夹在 envs 文件夹中,并尝试列出所有环境。但是我无法获得手动创建的新环境。

So, I manually created a folder in envs folder and tried to list all envs. But I couldn't get the manually created new environment.

因此,如何在conda env中将python 3.9安装到具有所有功能的 pip 是否正常工作?

So, how do I install python 3.9 in a conda env with all functionalities like pip working?

推荐答案

更新


Python 3.9现在在conda-中可用

Update

Python 3.9 is now available in conda-forge.

要下载tar文件- https://anaconda.org/conda-forge/python/3.9.0/download/linux-64/python-3.9.0-h852b56e_0_cpython.tar .bz2

Anaconda页面- https:// anaconda.org/conda-forge/python

Anaconda Page - https://anaconda.org/conda-forge/python

正如评论中所指出的,python 3.9尚未出现在任何渠道上。因此,它尚不能通过conda安装。

As pointed out in the comments, python 3.9 is not yet there on any channels. So, it cannot be install yet via conda.

相反,您可以下载python 3.9可执行文件并安装它。

Instead, you can download the python 3.9 executable and install it.

安装完成后,将为python 3.9创建一个新的可执行文件,并创建pip 3.9。

Once the installation is done, a new executable will be created for python 3.9 and pip 3.9 will be created.

Python:

python3.7          
python3.7-config   
python3.7m         
python3.7m-config  
python3.9          
python3.9-config

pip

pip      
pip3     
pip3.7   
pip3.8   
pip3.9   
pipreqs

为python 3.9安装ipython,

In order to install ipython for python 3.9,

pip3.9 install ipython

这篇关于如何使用conda安装python3.9?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆