But they probably want to start this at the application level right? So the config gets parsed. Ondrej, we should figure this out before sympy0.7 is released so that isympy works with the soon-to-be-released IPython 0.11.
On Mon, Jun 13, 2011 at 12:19 AM, Min RK <[email protected]> wrote: > I believe it should be: > > from IPython.core.interactiveshell import InteractiveShell > > ip = InteractiveShell.instance() > > -MinRK > > On Jun 12, 2011, at 23:31, Ondrej Certik <[email protected]> wrote: > >> Hi, >> >> when I try to import "isympy" in the newest ipython (installed in >> Qsnake from qsnake.com), I get: >> >> Qsnake: ondrej@eagle:~/repos/sympy(cg_coeff)$ bin/isympy >> Traceback (most recent call last): >> File "bin/isympy", line 180, in <module> >> main() >> File "bin/isympy", line 177, in main >> init_session(ipython, **args) >> File "sympy/interactive/session.py", line 122, in init_session >> ip = IPython.ipapi.get() >> AttributeError: 'module' object has no attribute 'ipapi' >> >> >> What is the best way that we should fix this? I would add some >> conditional imports into sympy, but I wanted to ask, what the final >> import line will be once ipython gets released. >> >> Thanks, >> Ondrej >> _______________________________________________ >> IPython-User mailing list >> [email protected] >> http://mail.scipy.org/mailman/listinfo/ipython-user > _______________________________________________ > IPython-User mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/ipython-user > -- Brian E. Granger Cal Poly State University, San Luis Obispo [email protected] and [email protected] -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
