Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1529 by zhangxiaopan: Not working in Python 3.0, after
installation, 'import sympy' gives error.
http://code.google.com/p/sympy/issues/detail?id=1529
My computer is "Windows Vista Home Basic"
I installed Python 3.1
I then installed the sympy-0.6.4-win32
I then opened the "IDLE" window.
I then typed 'import sympy', python gives the following error:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import sympy
File "C:\Python31\lib\site-packages\sympy\__init__.py", line 23, in
<module>
from sympy.core import *
File "C:\Python31\lib\site-packages\sympy\core\__init__.py", line 21
exec '%s = _cls()' % (_n)
^
SyntaxError: invalid syntax
I guess the reason is that 'exec' is no more a statement in Python 3 any
more, BTW, even after changing this to exec(), there are still many import
errors about not being able to find modules.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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-issues?hl=en
-~----------~----~----~----~------~----~------~--~---