在 conda 环境中找不到命令“python”

mom*_*ind 3 anaconda windows-subsystem-for-linux

我在 MS Windows 10 上使用 Ubuntu 20.04 WSL。我从主页(https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh)安装了 anaconda 并尝试创建一个新环境,如下所示图像。

在此输入图像描述

正如你所看到的,我只是创建了一个新环境并切换到该环境,但我没有发现Python命令。

我做了echo $PATH并且得到了

/home/my_username/anaconda3/envs/test/bin:/home/my_username/anaconda3/condabin:

已经在 PATH 的开头了。

我该如何解决这个问题?谢谢

mom*_*ind 6

我发现了问题

创建新环境时,我们需要指定Python的版本

conda create -n test python=3.8