On Sunday, June 16, 2013 6:17:13 AM UTC-6, Larry M wrote: > I have been using Spyder on my desktop for about a week and was able to > get some small programs running. Then I started to get an error that says > "NameError: name 'runfile' is not defined " whenever I run a script from > the editor. Even the simplest script will do this. However, when I use > "run selection or current block of lines" from Spyder that works. When I > try to use the debugger, I get "NameError: name 'debugfile' is not > defined." I have removed Spyder and Python, and then reinstalled using > Python(x,y). I even tried reinstalling Spyder using Anaconda and > WinPython. Spyder gives the same errors after the reinstalls. > > At the same time this was going on, I used Anaconda to install Spyder on > my laptop, and that seems to work fine--the NameErrors do not appear. It > seems that I inadvertently changed something on my desktop that persists > after a reinstall. > > Any suggestions? > > Hi, Larry.
Kind of a stab in the dark, but make sure that "Path to Python interpreter executable binary" in the "Tools>Preferences>Console>Advanced settings" dialog points to the Python interpreter you want your scripts to be running in. I suspect that would be C:\Python27\python.exe. Jed -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/groups/opt_out.
