Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 261
msg Avatar asked Sep 29 '17 09:09

msg


Video Answer


2 Answers

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

like image 122
Ritesh Soni Avatar answered Oct 20 '22 16:10

Ritesh Soni


In spyder 2.3 you need to do the following:

Go to Tools -> Preferences -> Console -> Advanced settings or Tools -> Preferences -> Python interpreter in Spyder 5 (added thanks to @Osama El-Ghonimy)

enter image description here

then scroll down to:

enter image description here

desellect Enable UMR

Click on Apply (Anwenden) and restart Spyder.

The error should be gone now...

like image 8
Chandran Goodchild Avatar answered Oct 20 '22 14:10

Chandran Goodchild