INFO menuinst_win32:__init__(182): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}'

♀尐吖头ヾ 提交于 2019-12-20 12:07:03

问题


Currently I get a lot of these INFO messages when I update packages:

$ conda update --all --yes
Fetching package metadata .................
Solving package specifications: .

Package plan for installation in environment C:\anacondadir:

The following packages will be UPDATED:

    ipython:   6.0.0-py35_1 --> 6.1.0-py35_0
    nbconvert: 5.1.1-py35_0 --> 5.2.1-py35_0
    testpath:  0.3-py35_0   --> 0.3.1-py35_0

testpath-0.3.1 100% |###############################| Time: 0:00:00   1.31 MB/s
ipython-6.1.0- 100% |###############################| Time: 0:00:00   2.77 MB/s
nbconvert-5.2. 100% |###############################| Time: 0:00:00   3.36 MB/s
INFO menuinst_win32:__init__(182): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'C:\anacondadir', env_name: 'None', mode: 'None', used_mode: 'user'
INFO menuinst_win32:__init__(182): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'C:\anacondadir', env_name: 'None', mode: 'None', used_mode: 'user'

Is there some way to hide (or better: adressing/fixing the root cause) of these messages?

Possibly important data:

conda 4.3.21 
menuinst 1.4.7
requests 2.14.2 
CPython 3.5.3 
Windows/10 Windows/10.0.14393

回答1:


So first off, the following will get rid of those DEBUG messages, but it will also get rid of the progress-bars & most of the rest of conda update's stdout.

I'd suggest not doing the following & just sorta dealing with them until updating conda fixes itself which will likely eventually happen. This question has been navigated to by almost 1K people a month; I haven't looked at the official repo but I'll bet this is on the radar for future releases.

This will make conda quiet & get rid of the DEBUG messages:

conda config --set quiet True


来源:https://stackoverflow.com/questions/44335616/info-menuinst-win32-init-182-menu-name-anacondapy-ver-platform

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