Wiki » History » Version 5

« Previous - Version 5/9 (diff) - Next » - Current version
David PICARD, 03/02/2015 11:51 AM


Install

Required software :

  • Numpy : array manipulation.
  • Scipy : scientific library.
  • PySide : Qt bindings for Python.
  • PyQtGraph : scientific sraphics and GUI library for Python.
  • PyOpenGL : Python OpenGL binding. Some classes of PyQtGraph require PyOpenGL.
  • The source code of the project, from the repository.

Windows

Python

Get Algorete, a Python distribution with a package manager. Download the "mini" version, and reboot, so the PATH environment variable is updated everywhere in the system. Default install directory : C:\Loopy.

To get help about the package manager, type the following command in a DOS prompt, not a Git/bash shell :

> apkg help

Install the required packages :

> apkg install matplotlib numpy scipy pyside

PyQtGraph

The installer has a bug (it won't find Python and the dialog is write protected). The workaround is to get the source code. The archive contains a "pyqtgraph" directory that contains init.py, colormap.py, etc. Copy this directory to C:\Loopy\Lib\site-packages. The PyQtGraph module can now be imported in Python.

PyOpenGL

Get the zip, extract and type :

$ python setup.py install

Default install directory C:\Loopy\Lib\site-packages\OpenGL.

Linux Ubuntu

Python

On Linux, Python is installed by default. Install Python packages :

# apt-get install python-matplotlib python-numpy python-scipy python-pyside pyside-tools

PyQtGraph

Download the .deb file linked at the top of the page. Then install the package :

# dpkg -i python-pyqtgraph_xx.xx.xx-x_all.deb

PyOpenGL

Install Python's package manager :

# apt-get install python-pip

Install PyOpenGL :

$ pip install PyOpenGL PyOpenGL_accelerate

Mac OS X

Python

On OS X, Python is installed by default.

protron.png (135 KB) David PICARD, 12/07/2017 05:15 PM