On 01/09/16 21:01, Brian Merchant wrote: I am finding that when I start Spyder, it tries to load IPython, which > in turn is executing error-ful code in PYTHONPATH. > > That code has errors, so Spyder is crashing, and never gets to start up. > > C:\Users\Brian Merchant>spyder > Traceback (most recent call last): > [...] > File "C:\Users\Brian > Merchant\Anaconda2\lib\site-packages\traitlets\config\loader.py", line 14, > in <module> > from ast import literal_eval > File "C:\proofor\ast.py", line 99, in <module> > res = parser.parse(t0) > [...] >
IPython (and indirectly Spyder) uses the ast module in the standard library. It looks like the directory you added to PYTHONPATH also has an ast module in it, thus causing IPython to use that module instead of the module in the standard library. I guess you never had this issue before because you did not have an ast.py file in your own code. Is it possible to rename your own ast.py? That may the easiest solution. Jitse -- 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 https://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
