I see you are using Python 3.0.1. I'm not sure SymPy is ready for
Python 3 yet. Just stick to last Python 2 version (currently 2.6.2)
and hopefully everything will be alright.

Roberto.


On Wed, Apr 29, 2009 at 11:46, [email protected]
<[email protected]> wrote:
>
> This might be a duplicate post---I sent something a few minutes ago
> but I might not have had a subject line....did not see post come up..
>
> I am teaching a course in using software to do mathematics and have
> been discussing Python.
> I would like to present this to the class but cannot get to first
> base.
>
> I have done some Python programing but never used sympy.
>
> I just today downloaded sympy-0.6.4.
>
> In idle on Windows I get:
>
> Python 3.0.1 (r301:69561, Feb 13 2009, 20:04:18) [MSC v.1500 32 bit
> (Intel)] on win32
> Type "copyright", "credits" or "license()" for more information.
>>>> from sympy import Symbol, cos
> Traceback (most recent call last):
>  File "<pyshell#0>", line 1, in <module>
>    from sympy import Symbol, cos
>  File "C:\Python30\lib\site-packages\sympy\__init__.py", line 23, in
> <module>
>    from sympy.core import *
>  File "C:\Python30\lib\site-packages\sympy\core\__init__.py", line 21
>    exec '%s = _cls()' % (_n)
>                     ^
> SyntaxError: invalid syntax
>>>>
>
> and very similar result from command line on Windows or in Linux---the
> slight difference is where the  carat is.
>
>    exec '%s = _cls()' % (_n)
>                              ^
>
> Dennis Roseman
> Department of Mathematics
> University of Iowa
> >
>

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