Hi Jed, Thanks for the reply. I checked out the path to the .exe and it was set to a version of python.exe installed with winpython. I downloaded a separate file so I could set it up as you suggested, C:\Python27\python.exe. Unfortunately, this gives the same error as I described in the original post.This error has survived through multiple reinstalls, so it seems like it must be something that persists in Windows after Python and Spyder have been removed. Any ideas on where to look for this type of thing?Thanks for your help.
Gbenro, Thanks for letting me know about the fix. It worked. cheers, Larry
--
You received this message because you are subscribed to a topic in the Google Groups "spyder" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/spyderlib/myEBR_DWnFw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to spyderlib+...@googlegroups.com.
Jed, I changed the settings back to ...Interpreter>execute in current interpreter, because this is the configuration that was causing the problem. Then I used the commands you said to get 'C:\\winpython\\WinPython-64bit-2.7.5.1\\python-2.7.5.amd64\\python.exe.' Then I went to Preferences>Console>Advanced (Console instead of Editor) and the path to python interpreter and executable binary was pointing to the same file, but with single backslash instead of double. It seems like they are both pointing to the same place.I tried switching between Run>Interpreter>execute in current interpreter, and Run>Interpreter>execute in new interpreter, and confirmed that the first setting (current interpreter) gives the NameError error and the second one (new interpreter) is OK.Larry
Thanks a bunch for tracking this down!! I was totally baffled by this
problem. I'll report it with the WinPython guys.
Cheers,
Carlos
El 11/11/13 21:36, Benjamin Griffel escribió:
> I had this same issue and I fixed it by putting the directory
> C:\WinPython-64bit-3.3.2.3\python-3.3.2.amd64\Lib\site-packages\spyderlib\widgets\externalshell
>
> into my PYTHONPATH environmental variable. It seems as thought python
> could not find the sitecustomize.py file without doing this. I hope
> this helps.
> --
> 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 spyd...@googlegroups.com.