0.4.1 source tarball
0.4.1 windows installer
SymPy homepage
Changelog
PyOpenGL is required for SymPy plotting support. While *nix users should have no problem (apt-get install python-opengl), Windows users will find it difficult, if not impossible, to use PyOpenGL with Python 2.5. I recommend setting up your Python environment as follows:
- Install Python 2.4.4 to C:\Python24 (the default location)
I normally like to install all of my programs in C:\Program Files, but unfortunately PyOpenGL depends on the default install path. - Install Numeric-23.7.win32-py2.4.exe
- Install numarray-1.1.1.win32-py2.4.exe
- Install PyOpenGL-2.0.2.01.py2.4-numpy23.exe
- Install sympy-0.4.1.win32.exe
>>> from sympy import Symbol
>>> from sympy.modules.graphing import Plot
>>> x = Symbol('x')
>>> Plot(x**2, [x, -1, 1, 10])
If you get a dll not found error relating to GLUT, obtain glut32.dll and put it in C:\Python24\Lib\site-packages\OpenGL.
No comments:
Post a Comment