Instructions: The current version of Lagrange requires that
Python is already installed on your computer. It also requires two
Python libraries: scipy
and numpy. On Windows,
install packages that match your version of Python (recommended:
Python 2.5).
Note: you can check whether scipy is installed correctly by opening a Python shell (on Windows, try launching IDLE from the Programs menu). You will see a
Once you have installed Python, scipy, and numpy:
Note: you can check whether scipy is installed correctly by opening a Python shell (on Windows, try launching IDLE from the Programs menu). You will see a
>>> prompt. Type:
>>> import scipy and hit return. If no error
messages appear, scipy is installed correctly.
Once you have installed Python, scipy, and numpy:
-
Download latest snapshot archive of Lagrange:
- Lagrange-20100721.tar.gz (for Linux/Mac) or
- Lagrange-20100721.zip (for Windows).
-
Unpack the Lagrange archive. This will create a folder,
Lagrange-20100721. -
Place your script in this folder (not in the
lagrangesubfolder). -
Run the script.
-
At a command prompt, type:
python name.lagrange.py, or - on Windows, launch IDLE from the Programs menu, open the script, and choose Run:Run Module (shortcut key F5).
-
At a command prompt, type:
-
Results of the analysis are logged to a text file,
name.results.txt.