dennis.rose...@gmail.com wrote:
> I am teaching a course for using a variety of software for
> mathematics, and I am teaching a bit of Python.
> 
> I just downloaded sympy-0.6.4, but have never used it before.
> (I have done other Python programming)
> 
> I had planned to present something on sympy but I cannot get it to
> work at all---either on my XP Windows machine or in our Linux Lab.
> 
> My import sympy command fails.
> 
> For example 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
> 
> Actually the above is with idle
> 
> I get almost the same message from command line in Windows except the
> carat is in a slightly different location:
> 
>  File "C:\Python30\lib\site-packages\sympy\core\__init__.py", line 21
>     exec '%s = _cls()' % (_n)\
>                               ^
> 
> I get the same message in our Linux lab.
> 

sympy does not yet work with python3. You can either get a previous 
python version, or help us porting to python3 (see the issue tracker)

> 
> 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 sympy@googlegroups.com
To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to