By the way, it would probably be useful to "secure" spyder from such situation, because if it has a wrong path to python interpreter it becomes totally disabled and you can not repair this without externally modifying ini file. Reinstallation didn't help by the way (the ini file remains the same after reinstallation) Thanks!
Andrey пятница, 28 марта 2014 г., 17:56:06 UTC+1 пользователь Adrian Klaver написал: > > On 03/28/2014 04:31 AM, Andrey Mostovov wrote: > > Hi, > > > > I unintentionally modified the default python path to a wrong one in the > > Preferences window of Spyder. After restarting it, the following error > > message showed up: > > I am going to assume you mean the PYTHONSTARTUP setting in the console > preferences. If that is not the case you are going to have to be more > specific. > > > > > A Python or IPython Console failed to start! > > > > and the python console was indeed disabled. > > > > When trying to open the Preferences window in order to correct the > > python path, I get an error message in the Internal Console: > > > > > > > I am not an advanced user so I do not see how to deal with this issue, I > > hope this is the right place to ask such questions. > > In your home directory find the .spyder2 directory. Look for the > spyder.ini field. In that file search for: > > pythonstartup/default > > It is probably set to False. Set to True: > > pythonstartup/default = True > > > Restart Spyder > > If that does not work then you have two options: > > 1) From the command line run spyder --defaults. This resets the > configuration settings to their defaults. This means any other > customizations you have done will also be lost. > > 2) Uninstall and then reinstall Spyder. Again you will be starting over. > > > > > > > > Details: Mac OS 10.6.8, Spyder 2.2.5 (installed from dmg) > > > > > > Thanks! > > > > > > Andrey > > > > > -- > 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.
