Avoid 'Reloaded modules: <module_name>' message in Python

余生长醉 提交于 2019-12-20 14:19:19

问题


I am getting the above mentioned error:

'Reloaded modules: <module_name>'

Since I want to keep my code as it is, i'd like to disable this warning. How can this be done? I am using Spyder 3.2.3.


回答1:


Go to Tools -> Preferences -> Python Interpreter and you will find User Module Reloader. Just deselect the checkbox with text as Show reloaded module list.




回答2:


In spyder 2.3 you need to do the following:

Go to Tools -> Preferences -> Console -> Advanced settings

then scroll down to:

desellect Enable UMR

Click on Apply (Anwenden) and restart Spyder.

The error should be gone now...



来源:https://stackoverflow.com/questions/46485628/avoid-reloaded-modules-module-name-message-in-python

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