Anaconda is not creating full environment

自作多情 提交于 2019-12-10 06:02:45

问题


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?


回答1:


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

Without specifying packages, i.e. python as above, conda just doesn't install anything at all in my_env environment.


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



回答2:


You have to use this to get all of the Anaconda default packages:

conda create --name my_env anaconda

Otherwise, it doesn't install everything.



来源:https://stackoverflow.com/questions/43145667/anaconda-is-not-creating-full-environment

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!