Use anacnda to create a virtual environment without specifying the python version

After creating a python virtual environment with anaconda, I want to specify this python interpreter with pycharm.
First, when I create a virtual environment without specifying the python version, after using the anaconda prompt command conda create -n envs_name (python version not specified), that is, after creating a virtual environment named envs_name, in anaconda There should be a folder named envs_name under the envs directory under the directory, and there should be many files in it, as shown in the figure below.
insert image description here
But since I didn't specify the python version when I created it, basically there are no such files? Just like the picture below:
insert image description here
As above, there is nothing.
Therefore, it seems that adding the python interpreter of this virtual environment in pycharm cannot be added.
Note: Add the python interpreter steps of the virtual environment created by anaconda to pycharm as shown in the figure below,
insert image description here
insert image description here
insert image description here
insert image description here
and then select the python.exe in the virtual environment path here.
For example, mine is
insert image description here
the envs folder in the anaconda folder, and emotion is the name of my virtual environment.
———————————————
So if I don’t specify the python version, I don’t know how to add a python interpreter to pycharm. .
It may be that I am missing some steps, I haven't figured it out yet, record it. . .

Guess you like

Origin blog.csdn.net/dlz_yhn/article/details/127944526
Recommended