[Python-modules-team] Bug#459411: isympy fails to start
Soeren Sonnenburg
bugreports at nn7.de
Sun Jan 6 12:51:11 UTC 2008
On Sun, 2008-01-06 at 13:25 +0100, Ondrej Certik wrote:
> On Jan 6, 2008 11:44 AM, Soeren Sonnenburg <bugreports at nn7.de> wrote:
> > Package: python-sympy
> > Version: 0.5.9-1
> > Severity: normal
> >
> > $ isympy
> > ---------------------------------------------------------------------------
> > exceptions.AttributeError Traceback (most recent call last)
> >
> > /usr/bin/isympy
> > 132 run_python_interpreter()
> > 133
> > 134 if __name__ == "__main__":
> > --> 135 main()
> > 136
> >
> > /usr/bin/isympy in main()
> > 127 else:
> > 128 try:
> > --> 129 run_ipython_interpreter()
> > 130
> > 131 except ImportError:
> >
> > /usr/bin/isympy in run_ipython_interpreter()
> > 59 args = []
> > 60 ipshell = IPShellEmbed(args)
> > ---> 61 api = ipshell.IP.getapi()
> > 62 api.ex(init_code)
> > 63 api.ex('__IP.compile("from __future__ import division", "<input>", "single") in __IP.user_ns')
> >
> > AttributeError: InteractiveShell instance has no attribute 'getapi'
> >
>
> Hi Soeren,
>
> thanks very much for the bug report. You use stable, right? Which
> version of ipython do you have?
No, I am on up-to-date sid, but for some reason I don't even have the
ipython package installed, but something strange:
$ dpkg -l | grep ipython
ii ipython-common 0.6.13-1 enhanced interactive Python shell [common fi
ii python2.4-ipython 0.6.13-1 enhanced interactive Python shell [built for
> For me, it works with Version: 0.8.1-2. We could add conflict with the
> version of ipython that
> you have and lower, but that would render python-sympy uninstallable
> for some people.
I installed ipython and isympy just works!
I guess the solution/fix would be to add ipython as recommends?
> Easy workaround is this:
>
> $ isympy -c python
Indeed that works too.
> Please tell me, if it works.
Thanks!
Soeren
More information about the Python-modules-team
mailing list