Difference between revisions of "Detailed installation of prerequisites for Windows"

From Pynomo
Jump to: navigation, search
(New page: Under construction.)
 
(Installation of prerequisites for Windows)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
Under construction.
+
== Installation of prerequisites for Windows XP==
 +
__NOTOC__
 +
=== Install Python ===
 +
Download from [http://www.python.org/download/releases/2.5.2/ www.python.org] file '''python-2.5.2.msi''' and run it to install
 +
python.
 +
 
 +
Python 2.6 may also work.
 +
 
 +
=== Install Latex ===
 +
Download TeX/LaTeX-distribution .
 +
See instructions at [http://www.miktex.org/2.7/setup miktex.org].
 +
 
 +
=== Install Scipy/numpy ===
 +
Download  [http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103 Numpy]
 +
and run file
 +
'''numpy-1.2.1-win32-superpack-python2.5.exe''' or latest.
 +
 
 +
 
 +
Download [http://sourceforge.net/project/showfiles.php?group_id=27747&package_id=19531&release_id=540981 Scipy]
 +
and run file
 +
'''scipy-0.6.0.win32-py2.5.exe''' or latest.
 +
 
 +
=== Install PIL (Python imaging library)===
 +
'''Download PIL from [http://www.pythonware.com/products/pil/] and run file
 +
PIL-1.1.6.win32-py2.5.exe'''
 +
 
 +
=== Install PyX ===
 +
Download pyx from [http://sourceforge.net/project/showfiles.php?group_id=45430&package_id=38091&release_id=544104]
 +
and open package '''PyX-0.10.tar.gz''' for example by using [http://www.cygwin.com/ cygwin]. Open command line (cygwin bash shell)
 +
and type
 +
 
 +
tar -xf PyX-0.10.tar.gz
 +
 +
this extract the package. Go to created directory PyX-0.10 in '''windows command promt''' and run
 +
 
 +
python setup.py install
 +
 
 +
Try running example [http://pyx.sourceforge.net/examples/index.html] by typing
 +
 
 +
python hello.py
 +
 
 +
and see if a pdf was generated. If further problems, consult PyX website [http://pyx.sourceforge.net/]

Latest revision as of 20:58, 16 November 2008

Installation of prerequisites for Windows XP

Install Python

Download from www.python.org file python-2.5.2.msi and run it to install python.

Python 2.6 may also work.

Install Latex

Download TeX/LaTeX-distribution . See instructions at miktex.org.

Install Scipy/numpy

Download Numpy and run file numpy-1.2.1-win32-superpack-python2.5.exe or latest.


Download Scipy and run file scipy-0.6.0.win32-py2.5.exe or latest.

Install PIL (Python imaging library)

Download PIL from [1] and run file PIL-1.1.6.win32-py2.5.exe

Install PyX

Download pyx from [2] and open package PyX-0.10.tar.gz for example by using cygwin. Open command line (cygwin bash shell) and type

tar -xf PyX-0.10.tar.gz

this extract the package. Go to created directory PyX-0.10 in windows command promt and run

python setup.py install

Try running example [3] by typing

python hello.py

and see if a pdf was generated. If further problems, consult PyX website [4]