Home Contents Running the application Install the python interpreter and libraries in Linux

A Install the python interpreter and libraries in MS Windows

Updated versions of the libraries compiled for MS Windows can be found in: http://www.lfd.uci.edu/ gohlke/pythonlibs

Since PyQwt library is no longer mantained, it is very important to get first a compiled version of this library and then the exact versions of the other libraries against which PyQwt has been compiled. Below we provide library version numbers and download links that have work well in our instalation.

Please remember that PyQwt library must be the last to be installed.

  1. Python interpreter: http://www.python.org
     
    1. Download http://www.python.org/ftp/python/2.7.5/python-2.7.5.msi (32-bit windows) or http://www.python.org/ftp/python/2.7.5/python-2.7.5.amd64.msi (64-bit).
       
    2. Install python-2.7.5.msi or python-2.7.5.amd64.msi. Keep all default options.
       
  2. PyQt GUI development: http://www.riverbankcomputing.co.uk, http://pyqwt.sourceforge.net
     
    1. Download PyQt-Py2.7-x32-gpl-4.9.6-1.exe or PyQt-Py2.7-x64-gpl-4.9.6-1.exe from http://www.lfd.uci.edu/ gohlke/pythonlibs
       
    2. Install PyQt-Py2.7-x32-gpl-4.9.6-1.exe or PyQt-Py2.7-x64-gpl-4.9.6-1.exe AFTER installing python-2.7.5.msi or python-2.7.5.amd64.msi. Keep all default options. It will detect the folder where python is installed.
       
    3. In order to update your PATH environment variable with the location of Qt libraries, logout and login again into Windows.
       
  3. Numpy and Scipy python modules: http://www.numpy.org and http://www.scipy.org
     
    The latest numpy and scipy versions that have been tested are respectively 1.7.1 and 0.12.0. Earlier versions are not recommened, since the latest ones include bug fixes and funcionality enhancements that might be necessary for the correct function of the software. Although it is advisable to install the numpy and scipy library versions against which PyQwt has been compiled, newer versions may also work. If you prefer newer versions, be aware that there might be some incompatibility with pyqwt library 5.2 that may requiere recompilation of that library agaist the new version of numpy and scipy.
     
    1. Download http://sourceforge.net/projects/numpy/files/NumPy/1.7.1/numpy-1.7.1-win32-superpack-python2.7.exe.
       
    2. Install numpy-1.7.1-win32-superpack-python2.7.exe AFTER installing python-2.7.5.msi. Keep all default options. It will detect the folder where python is installed.
       
    3. Download http://prdownloads.sourceforge.net/scipy/scipy-0.12.0-win32-superpack-python2.7.exe
       
    4. Install scipy-0.12.0-win32-superpack-python2.7.exe AFTER installing numpy-1.7.1-win32-superpack-python2.7.exe. Keep all default options. It will detect the folder where Python is installed.
       
    5. Unofficial Numpy and Scipy installation binaries can be found at http://www.lfd.uci.edu/ gohlke/pythonlibs/. There are versions compiled for 64-bits and versions including high-performance Intel MKL libraries.
       
    6. To improve performance of linear algebra operations in Python, optionally install either the Intel Math Kernel Library (MKL) http://www.intel.com/cd/software/products/asmo-na/eng/307757.htm or the Basic Linear Algebra Subprograms (BLAS) http://www.netlib.org/blas, the Linear Algebra PACKage (LAPACK) http://www.netlib.org/lapack and the Automatically Tuned Linear Algebra Software (ATLAS) http://math-atlas.sourceforge.net/ . Although lossyfilters software does not perform operations with large matrices, it is advisable to install MKL or BLAS + LAPACK + ATLAS for other applications.
       
      Instructions for installation of Scipy with MKL or BLAS + LAPACK + ATLAS can be found in http://www.scipy.org/Installing_SciPy/Windows . The ATLAS installation web page http://math-atlas.sourceforge.net/atlas_install contains also useful information.
       
    7. To improve performance of FFT operations in Python, optionally install the FFTW3 http://www.fftw.org library. Although lossyfilters software does not perform FFT operations, it is advisable to install the package for other applications. Instructions for installation in MS-Windows can be found in http://www.fftw.org/install/windows.html . Pre-compiled DLL files can de downloaded from ftp://ftp.fftw.org/pub/fftw/fftw-3.2-dll.zip (32-bit version) and ftp://ftp.fftw.org/pub/fftw/fftw-3.2-dll64.zip (64-bit version).
       
  4. PyQwt library: http://pyqwt.sourceforge.net
     
    1. Download PyQwt-5.2.1-py2.7-x32-pyqt4.9.6-numpy1.7.1.exe or PyQwt-5.2.1-py2.7-x64-pyqt4.9.6-numpy1.7.1.exe from http://www.lfd.uci.edu/ gohlke/pythonlibs
       
    2. Install PyQwt-5.2.1-py2.7-x32-pyqt4.9.6-numpy1.7.1.exe or PyQwt-5.2.1-py2.7-x64-pyqt4.9.6-numpy1.7.1.exe AFTER installing python, pyQt, numpy and scipy. Keep all default options. It will detect the folder where python is installed.
       
  5. Eric development environment (OPTIONAL): http://eric-ide.python-projects.org
     
    1. Download http://sourceforge.net/projects/eric-ide/files/eric4/stable/4.5.12/eric4-4.5.12.zip or get latest 4.x version from: http://sourceforge.net/project/showfiles.php?group_id=119070&package_id=233329 .
       
    2. Unpack: eric4-4.5.12.zip
       
    3. In the folder where eric4-4.5.12.zip has been unpacked, AFTER installing python and pyQt, run:
       
      c:\folder> install.py
      
    4. To run eric4, either run eric4.bat or eric4-tray.bat. Both are located at the python folder (for example, c:\Python27). The first opens the eric4 IDE, while the second embeds an icon in the system tray, which contains a context menu to start eric4 and all its utilities. Double clicking this icon starts the eric4 IDE.
       

Home Contents Running the application Install the python interpreter and libraries in Linux