Anaconda3 conda command error menuinst_win32

a 夏天 提交于 2021-02-07 20:36:49

问题


I'm installing anaconda python 3, version 4.4.0 on Windows machines. The installs finishes normally. But I'm getting errors when I try to use conda to update or to create virtual environments. Package resolution completes and downloads the packages but then hangs for a long time before throwing out a load of errors like so:

conda create -n py2 python=2.7 anaconda

INFO menuinst_win32:__init__(182): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'c:\anaconda\envs\py2', env_name: 'py2', mode: 'None', used_mode: 'system' INFO menuinst_win32:__init__(182): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'c:\anaconda\envs\py2', env_name: 'py2', mode: 'None', used_mode: 'system' INFO menuinst_win32:__init__(182): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'c:\anaconda\envs\py2', env_name: 'py2', mode: 'None', used_mode: 'system' INFO menuinst_win32:__init__(182): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'c:\anaconda\envs\py2', env_name: 'py2', mode: 'None', used_mode: 'system' INFO menuinst_win32:__init__(182): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'c:\anaconda\envs\py2', env_name: 'py2', mode: 'None', used_mode: 'system' INFO menuinst_win32:__init__(182): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'c:\anaconda\envs\py2', env_name: 'py2', mode: 'None', used_mode: 'system' INFO menuinst_win32:__init__(182): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'c:\anaconda\envs\py2', env_name: 'py2', mode: 'None', used_mode: 'system'

The environment will still have been created but this hanging and waiting is really becoming a problem. I assume this is a fairly new bug because I've been installing anaconda and using conda for quite a while and never seen this error before.


回答1:


I posted this to the anaconda github page. Apparently this is an issue with the displayed output but isn't actually an error in the install. The virtual environment installations and updates do work, although they are slower than normal.



来源:https://stackoverflow.com/questions/45879771/anaconda3-conda-command-error-menuinst-win32

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