Wiki » History » Version 2

David PICARD, 03/02/2015 09:51 AM

1 1 David PICARD
h1. Install
2 1 David PICARD
3 1 David PICARD
h2. Windows
4 1 David PICARD
5 2 David PICARD
*Python*
6 2 David PICARD
7 1 David PICARD
Get "Algorete":http://algorete.org/, 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.
8 1 David PICARD
9 1 David PICARD
To get help about the package manager, type the following command in a *DOS prompt*, not a Git/bash shell :
10 1 David PICARD
@> apkg help
11 1 David PICARD
@
12 1 David PICARD
13 1 David PICARD
Install the required packages :
14 1 David PICARD
@> apkg install matplotlib numpy scipy pyside
15 1 David PICARD
@
16 1 David PICARD
17 2 David PICARD
*PyQtGraph*
18 2 David PICARD
19 2 David PICARD
The "PyQtGraph":http://pyqtgraph.org/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.
20 2 David PICARD
21 2 David PICARD
*PyOpenGL*
22 2 David PICARD
23 2 David PICARD
Some classes of PyQtGraph require "PyOpenGL":http://pyopengl.sourceforge.net/. Get the zip, extract and type :
24 2 David PICARD
@$ python setup.py install
25 2 David PICARD
@
26 2 David PICARD
27 2 David PICARD
Default install directory C:\Loopy\Lib\site-packages\OpenGL.
28 2 David PICARD
29 2 David PICARD
30 1 David PICARD
h2. Linux Ubuntu
31 1 David PICARD
32 2 David PICARD
*Python*
33 1 David PICARD
34 2 David PICARD
On Linux, Python is installed by default.
35 2 David PICARD
36 1 David PICARD
h2. Mac OS X
37 2 David PICARD
38 2 David PICARD
*Python*
39 2 David PICARD
40 2 David PICARD
On OS X, Python is installed by default.