isympy startup error

19 views
Skip to first unread message

Mani Chandra

unread,
Jun 21, 2011, 3:29:49 AM6/21/11
to sy...@googlegroups.com
Hello,

I'm trying to use the binary from the git source tree since I wanted the latest version of simplify(), but I get the following error when I try to use bin/isympy.

Traceback (most recent call last):
  File "isympy", line 162, in <module>
    main()
  File "isympy", line 159, in main
    init_session(ipython, **args)
TypeError: init_session() got an unexpected keyword argument 'pretty_print'

What can I do to fix this?

Thanks,
Mani Chandra

Aaron Meurer

unread,
Jun 21, 2011, 3:32:49 AM6/21/11
to sy...@googlegroups.com
Hi.

Can you give more information about your system? What version of
Python do you have installed? What kind of terminal are you using (in
particular, does it support unicode)? Are you passing any options to
the isympy command?

Aaron Meurer

> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/sympy/-/ddfrxE3P97cJ.
> To post to this group, send email to sy...@googlegroups.com.
> To unsubscribe from this group, send email to
> sympy+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.
>

Mateusz Paprocki

unread,
Jun 21, 2011, 3:36:31 AM6/21/11
to sy...@googlegroups.com
Hi,

On 21 June 2011 09:32, Aaron Meurer <asme...@gmail.com> wrote:
Hi.

Can you give more information about your system?  What version of
Python do you have installed?  What kind of terminal are you using (in
particular, does it support unicode)?  Are you passing any options to
the isympy command?

Also make sure that you run exactly bin/isympy from the directory you cloned SymPy's repository to, because otherwise a system-wide installed SymPy (if exists) will be used by Python in preference to the git version.

Mateusz

Mani Chandra

unread,
Jun 21, 2011, 4:04:15 AM6/21/11
to sy...@googlegroups.com
Hi,

1) Python version: Python 2.7.1 (Enthought Python Distribution 7.0)
2) Terminal: Gnome terminal
3) I run it using ./isympy in the bin folder.

Mani

Aaron Meurer

unread,
Jun 21, 2011, 4:07:01 AM6/21/11
to sy...@googlegroups.com

This is your problem. You need to run it from the sympy folder, i.e.,
you should be running ./bin/isympy. Otherwise, as Mateusz pointed
out, it will try to use an installed version of sympy rather than the
git version (and it looks like the installed version is incompatible
with our current git version).

Aaron Meurer

> Mani


>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To view this discussion on the web visit

> https://groups.google.com/d/msg/sympy/-/OnqNCXzq-ooJ.

Mani Chandra

unread,
Jun 21, 2011, 4:11:29 AM6/21/11
to sy...@googlegroups.com
Thanks! It works now.

Mani
Reply all
Reply to author
Forward
0 new messages