Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spyder 2.3.4: I keep getting a "Reloaded modules:" warning #2325

Closed
gsmafra opened this issue Apr 14, 2015 · 11 comments
Closed

Spyder 2.3.4: I keep getting a "Reloaded modules:" warning #2325

gsmafra opened this issue Apr 14, 2015 · 11 comments

Comments

@gsmafra
Copy link

gsmafra commented Apr 14, 2015

Hello

Since I updated Spyder I am getting these messages everytime I try to compile a script with an import a second time.

For example, when running 2x a script that simply imports theano I get this message:

Reloaded modules: theano.scalar, theano.gof.callcache, theano.gof.optdb, theano.scan_module.scan, theano.tensor.extra_ops, theano.tensor.io, theano.tensor.shared_randomstreams, theano.tensor.opt, theano.tensor.nnet.Conv3D, theano.compile.monitormode, theano.tensor.blas, theano.tensor.type, cutils_ext, theano.gradient, theano.compile.profilemode, theano.gof.compiledir, theano.gof.type, theano.tests.main, theano.misc.cpucount, theano.scan_module.scan_op, theano.gof.null_type, theano.compile, theano.tensor.utils, theano.tensor.blas_scipy, theano.misc.ordered_set, theano.gof.opt, theano.tests, theano.tensor.nlinalg, lazylinker_ext.lazylinker_ext, theano.tensor, theano.compile.builders, theano.compile.debugmode, theano.tensor.nnet, theano.compile.io, theano.gof.utils, theano.gof.destroyhandler, theano.tensor.nnet.ConvTransp3D, theano.scan_module.scan_opt, theano.misc, theano.compile.function_module, theano.gof.graph, theano.tensor.subtensor, theano.tensor.blas_c, theano.compat.python2x, theano.gof.cutils, theano.misc.windows, theano.tensor.nnet.conv, theano.scan_module.scan_utils, theano.compat.six, theano.tensor.basic, theano.configparser, theano.gof, theano.gof.fg, theano.configdefaults, theano.tensor.sharedvar, theano.gof.toolbox, theano.scan_module.scan_views, theano.tensor.blas_headers, theano.printing, theano.tensor.elemwise_cgen, theano.gof.link, theano, theano.scalar.sharedvar, theano.gof.vm, lazylinker_ext, theano.compile.ops, theano.gof.unify, theano.tensor.elemwise, theano.tensor.nnet.nnet, theano.compile.function, theano.tensor.type_other, theano.gof.cc, theano.tensor.sort, theano.version, theano.scalar.basic, theano.tensor.nnet.ConvGrad3D, theano.tests.unittest_tools, theano.tensor.xlogx, theano.tensor.var, cutils_ext.cutils_ext, theano.gof.compilelock, theano.compile.mode, theano.compile.sharedvalue, theano.misc.safe_asarray, theano.compile.pfunc, theano.tensor.nnet.sigm, theano.gof.lazylinker_c, theano.gof.sched, theano.misc.strutil, theano.scalar.basic_scipy, theano.gof.cmodule, theano.compat, theano.gof.op, theano.updates, theano.tensor.opt_uncanonicalize, theano.scan_module, theano.tensor.raw_random, theano.compile.profiling

That only happens when using Spyder's runfile. I already tried execfile() and python xxx.py and I get no warnings

So, anyone knows how to suppress it?

Running on:
Python 2.7.8
Anaconda 2.1.0 (64-bit)
IPython 2.2.0
Windows 7

@Nodd
Copy link
Contributor

Nodd commented Apr 14, 2015

Have a look in the Console section of the preferences, in the Advanced tab. You can either disable the message or the UMR completely.

@gsmafra
Copy link
Author

gsmafra commented Apr 14, 2015

Thank you, solved

@gsmafra gsmafra closed this as completed Apr 14, 2015
@ccordoba12
Copy link
Member

It's better for you to disable the message, the UMR is quite useful to reload your own code.

@Nodd
Copy link
Contributor

Nodd commented Apr 14, 2015

I'd argue that the best way is to always run in a new dedicated console.

@mattandersoninf
Copy link

How do i disable the UMR? I can;t find the preferences mentioned above

@Ritesh96Soni
Copy link

Go to Tools -> Preferences -> Python Interpreter and you will find User Module Reloader.

@ghost
Copy link

ghost commented Feb 23, 2018

Thank you and i solved the problem too.

@holyprince
Copy link

Thank you and it is very useful for me to avoid open new python console.
For my spyder 2.3.8, the UMR path is Tools->Console->Advaned setting and on the last tab is UMR disable.

@nicolajbky
Copy link

In my Spider 3.2.8 it is
Tools -> Prefenrences -> Python interpreter -> User Module Reloader (UMR)

@MadhavJadhav1
Copy link

thanks for solution

@Angad-Boparai
Copy link

it works, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants