3

I am using Ubuntu 20.04 WSL on MS Windows 10. I installed anaconda from the homepage (https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh) and tried to create a new environment as the following image.

enter image description here

As you can see, I just create a new environment and switch to that, and I found no Python command.

I did echo $PATH and got

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

at the beginning of the PATH already.

How could I fix the problem? Thanks

mommomonthewind
  • 4,390
  • 11
  • 46
  • 74
  • Does this answer your question? [New conda environment is created without python](https://stackoverflow.com/questions/62061533/new-conda-environment-is-created-without-python) – merv May 25 '21 at 09:01

1 Answers1

5

I found the issue

When creating a new environment, we need to specify the version of Python

conda create -n test python=3.8

mommomonthewind
  • 4,390
  • 11
  • 46
  • 74