Hi. I stumbled on this thread in a bit of serendipity. I have been having the same problem as Darrell. I managed to get spyder to find the python3 binary, but when I try to run I get the error message
Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'runfile' is not defined What am I missing? Thanks for your consideration Steve Chu On Sunday, July 20, 2014 3:11:30 PM UTC-5, Adrian Klaver wrote: > > On 07/20/2014 11:39 AM, Darrell Aucoin wrote: > > I recently installed spyder2.3 (on my mac 10.9.4) and I'm having trouble > > setting the python to python3.4. I'm getting the following error code: > > I assume you have 3.4 installed, correct? > > If so how and where is it installed? > > > > > | > > DON'T USE THIS CONSOLE TO RUN CODE! > > Well the above is fairly explicit:) > Where are you trying to change the version and how? > > > > > It's used to report application errors > > and to inspect Spyder internals with > > the following commands: > > spy.app, spy.window, dir(spy) > > >>> Traceback (most recent call last): > > File > > > "/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/plugins/externalconsole.py", > > > > line 452, in python_executable_switched > > self.warn_python_compatibility(cust_pyexec) > > File > > > "/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/plugins/externalconsole.py", > > > > line 460, in warn_python_compatibility > > console_version = int(process.communicate()[0]) > > ValueError: invalid literal for int() with base 10: '' > > | > > > > ipython starts up with python 2.7. I checked within the contents of the > > spyder app and it only has python2.7 in > > /Applications/Spyder.app/Contents/Resources/lib/ > > > > Any help would be great in figuring this out. > > Preferences --> Console --> Advanced Settings --> Select the Python > interpreter... > > > > > > Thanks > > > > -- > > 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] <javascript:> > > <mailto:[email protected] <javascript:>>. > > To post to this group, send email to [email protected] > <javascript:> > > <mailto:[email protected] <javascript:>>. > > Visit this group at http://groups.google.com/group/spyderlib. > > For more options, visit https://groups.google.com/d/optout. > > > -- > Adrian Klaver > [email protected] <javascript:> > -- 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/d/optout.
