Status: New
Owner: ----
Labels: Type-Defect Priority-Low
New issue 3605 by [email protected]: pip install sympy logs SyntaxErrors
http://code.google.com/p/sympy/issues/detail?id=3605
On Mac OS X 10.6.8 with Python 2.6 (via virtualenv), install of sympy
raises (or at least logs) scary SyntaxErrors, but seems to work nonetheless:
(env)05:31:46 ~ > pip install sympy
Downloading/unpacking sympy
Downloading sympy-0.7.2.tar.gz (5.5MB): 5.5MB downloaded
Running setup.py egg_info for package sympy
package init file 'sympy/categories/tests/__init__.py' not found (or
not a regular file)
package init file 'sympy/interactive/tests/__init__.py' not found (or
not a regular file)
package init file 'sympy/plotting/intervalmath/tests/__init__.py' not
found (or not a regular file)
package init file 'sympy/plotting/pygletplot/tests/__init__.py' not
found (or not a regular file)
package init file 'sympy/polys/agca/tests/__init__.py' not found (or
not a regular file)
package init file 'sympy/sets/tests/__init__.py' not found (or not a
regular file)
package init file 'sympy/stats/tests/__init__.py' not found (or not a
regular file)
Installing collected packages: sympy
Running setup.py install for sympy
package init file 'sympy/categories/tests/__init__.py' not found (or
not a regular file)
package init file 'sympy/interactive/tests/__init__.py' not found (or
not a regular file)
package init file 'sympy/plotting/intervalmath/tests/__init__.py' not
found (or not a regular file)
package init file 'sympy/plotting/pygletplot/tests/__init__.py' not
found (or not a regular file)
package init file 'sympy/polys/agca/tests/__init__.py' not found (or
not a regular file)
package init file 'sympy/sets/tests/__init__.py' not found (or not a
regular file)
package init file 'sympy/stats/tests/__init__.py' not found (or not a
regular file)
changing mode of build/scripts-2.6/isympy from 644 to 755
SyntaxError: ('invalid syntax',
('/Users/jacobsen/env/lib/python2.6/site-packages/sympy/mpmath/libmp/exec_py3.py',
1, 12, 'exec_ = exec\n'))
SyntaxError: ('invalid syntax',
('/Users/jacobsen/env/lib/python2.6/site-packages/sympy/mpmath/tests/extratest_gamma.py',
50, 35, ' print("%s ok;" % name, end=\' \')\n'))
SyntaxError: ('invalid syntax',
('/Users/jacobsen/env/lib/python2.6/site-packages/sympy/mpmath/tests/torture.py',
80, 27, ' print(".", end=\' \')\n'))
changing mode of /Users/jacobsen/env/bin/isympy to 755
Successfully installed sympy
Cleaning up...
(env)08:22:36 ~ >
(env)08:22:36 ~ > python
Python 2.6.8 (unknown, Apr 14 2012, 04:15:37)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import sympy
from sympy import Symbol, cos
x = Symbol('x')
e = 1/cos(x)
print e.series(x, 0, 10)
1 + x**2/2 + 5*x**4/24 + 61*x**6/720 + 277*x**8/8064 + O(x**10)
--
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.