本文介绍了信息menuinst_win32:__ init __(182):菜单:名称:'Anaconda $ {PY_VER} $ {PLATFORM}'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前,当我更新软件包时,会收到很多这些INFO消息:

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?

可能重要的数据:

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

推荐答案

因此,首先,以下内容将删除这些DEBUG消息,,但还将删除进度栏和& conda updatestdout其余大部分.

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.

我建议不要执行以下&只是与它们打交道,直到更新conda自行修复,而这最终可能会发生.每个月将近一千人浏览了这个问题.我还没有看过正式的仓库,但我敢打赌,这将在将来的发行版中引起人们的注意.

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.

这将使conda安静&摆脱DEBUG消息:

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

conda config --set quiet True

这篇关于信息menuinst_win32:__ init __(182):菜单:名称:'Anaconda $ {PY_VER} $ {PLATFORM}'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 18:25