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

From Pynomo
Jump to: navigation, search
(Install PyX)
Line 21: Line 21:
 
=== Install PyX ===
 
=== Install PyX ===
 
Download pyx from [http://sourceforge.net/project/showfiles.php?group_id=45430&package_id=38091&release_id=544104]
 
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 7-zip [http://www.7-zip.org/].
+
and open package '''PyX-0.10.tar.gz''' for example by using cygwin [http://www.cygwin.com/]. 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
  
*[http://pyx.sourceforge.net/ PyX] (Python graphics package)
+
and see if a pdf was generated. If further problems, consult PyX website [http://pyx.sourceforge.net/]
Under construction.
+

Revision as of 20:59, 14 November 2008

Installation of prerequisites for Windows

Install Latex

Download TeX/LaTeX-distribution from miktex.org. See instructions at [1]

Install Scipy/numpy

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


Download Scipy from [3] and run file scipy-0.6.0.win32-py2.5.exe or latest.

Install PIL (Python imaging library)

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

Install PyX

Download pyx from [5] and open package PyX-0.10.tar.gz for example by using cygwin [6]. 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 [7] by typing

python hello.py

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