OK, it looks like something has set sys.path like this: sys.path = filter(...)
That won't work in Python 3, because filter() returns an iterator. You'll need to adapt it to: sys.path = list(filter(...)) Unfortunately there's nothing to indicate where the code in question is. I don't believe it's part of IPython. Thomas On 25 April 2017 at 00:11, Xtian Simon <[email protected]> wrote: > > *The error you show looks like you're running code written for Python 2 on > Python 3.* > My apologies. I realize now why you said this. My first link to the > iPython error inside ipython was only the error after trying to run a > script. > I've corrected this and made sure the iPython startup errors are included > in the same Pastebin <https://pastebin.com/x9MtSnkD> > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" 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]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jupyter/5da04669-feaf-4fef-873b-c89569e1e654%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/5da04669-feaf-4fef-873b-c89569e1e654%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAOvn4qjdpjy2Lsfdnp89Xmu2Upr-izhcTG%3DYP4Lq9Ff1hzE%2Buw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
