The simplest explanation for this type of error is that something in the 
path has the same name as the intended command. Try clearing everything 
from the path and try again.


Den søndag den 16. juni 2013 14.17.13 UTC+2 skrev Larry M:
>
> 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?  
>
> Thanks,
>
> Larry
>

-- 
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.

Reply via email to