Anaconda没有创建完整的环境 [英] Anaconda is not creating full environment
问题描述
我正在尝试使用git-bash和win10创建一个conda环境.我跑了:
I'm trying to create a conda environment using git-bash and win10. I ran:
$ conda create --name my_env
结果类似于上面的屏幕截图.
The result looks like the screenshot above.
看看其他环境,我可以看到它们通常是这样的:
Looking at other environments , I can see they normally look like:
我该如何解决?
推荐答案
要使用Python可执行文件创建环境,请使用以下一种方法:
To create the environment with the Python executable, use one of:
conda create --name my_env python # latest available python version
conda create --name my_env python=3.7 # specific python version
没有指定软件包,即上面的python
,conda根本没有在my_env
环境中安装任何东西.
Without specifying packages, i.e. python
as above, conda just doesn't install anything at all in my_env
environment.
您也可以在创建环境后安装Python解释器.有关可安装的Python版本的列表,请运行conda search "^python$"
.
You can alternatively install the Python interpreter after environment creation. For a list of installable Python versions, run conda search "^python$"
.
conda install python # latest available python version
conda install python=3.7 # specific python version
这篇关于Anaconda没有创建完整的环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!