Anaconda 没有创造完整的环境 [英] Anaconda is not creating full environment

查看:18
本文介绍了Anaconda 没有创造完整的环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 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:

我该如何解决这个问题?

How can I fix this?

推荐答案

要使用 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屋!

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