On Tue, Jan 17, 2012 at 4:24 PM, Alan Bromborsky <[email protected]> wrote:
> when I start ipython with "ipython --profile=sympy" I get
>
> Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 0.13.dev -- An enhanced Interactive Python.
> ?         -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help      -> Python's own help system.
> object?   -> Details about 'object', use 'object??' for extra details.
>
> IPython profile: sympy
> ---------------------------------------------------------------------------
> TypeError                                 Traceback (most recent call last)
> /home/brombo/GITHUB/sympy/sympy/galgebra/<ipython-input-1-09a68e4620ec> in
> <module>()
>      4 x, y, z, t = symbols('x y z t')
>      5 k, m, n = symbols('k m n', integer=True)
> ----> 6 f, g, h = symbols('f g h', cls=Function)
>
> /usr/local/lib/python2.7/dist-packages/sympy-0.6.7_git-py2.7.egg/sympy/core/symbol.pyc
> in symbols(*names, **kwargs)

I think herein lies the problem. It's trying to use an old globally
installed version of SymPy. I'm not sure if that's what you want. If
it is, you need to update from 0.6.7 to something newer (the cls
argument to symbols() was introduced in 0.7.0).  If you're trying to
run off the git version, you are either not running it from within the
git directory correctly, or something is messed up with the PYTHONPATH
somewhere.

Aaron Meurer

>    234             if not t:
>    235                 continue
> --> 236             sym = Symbol(t, **kwargs)
>    237             res.append(sym)
>    238         res = tuple(res)
>
> TypeError: __new__() got multiple values for keyword argument 'cls'
>
> In [1]:
>
> then everything works ok.  If I start ipython with "ipython notebook
> --profile=sympy" everything works OK from the start.  Note that I have
> modified sympyprinting.py (attached) so that ipython printing works with the
> geometric algebra module.
>
> --
> 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.
>

-- 
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.

Reply via email to