SWCAudioDaySoftware » History » Version 4
Luis Figueira, 2012-09-03 03:38 PM
1 | 1 | Luis Figueira | h1. SWCAudioDaySoftware |
---|---|---|---|
2 | 1 | Luis Figueira | |
3 | 1 | Luis Figueira | |
4 | 2 | Luis Figueira | h3. Installation under OSX 10.7 (Lion) |
5 | 1 | Luis Figueira | |
6 | 2 | Luis Figueira | (assuming homebrew is already installed) |
7 | 1 | Luis Figueira | |
8 | 3 | Luis Figueira | <pre>brew install readline sqlite gdbm pkg-config |
9 | 2 | Luis Figueira | brew install python --framework --universal</pre> |
10 | 1 | Luis Figueira | |
11 | 1 | Luis Figueira | (add this to ~/.bash_profile) |
12 | 4 | Luis Figueira | @@export PATH=/usr/local/share/python:$PATH |
13 | 4 | Luis Figueira | <pre> |
14 | 1 | Luis Figueira | cd /System/Library/Frameworks/Python.framework/Versions |
15 | 1 | Luis Figueira | sudo rm Current |
16 | 1 | Luis Figueira | ln -s /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/Current |
17 | 1 | Luis Figueira | |
18 | 1 | Luis Figueira | source ~/.bash_profile (or reload terminal) |
19 | 1 | Luis Figueira | |
20 | 1 | Luis Figueira | easy_install pip |
21 | 3 | Luis Figueira | </pre> |
22 | 1 | Luis Figueira | * Numpy |
23 | 3 | Luis Figueira | <pre> |
24 | 1 | Luis Figueira | pip install numpy |
25 | 3 | Luis Figueira | </pre> |
26 | 1 | Luis Figueira | ** Testing (in python) |
27 | 1 | Luis Figueira | |
28 | 1 | Luis Figueira | import numpy |
29 | 1 | Luis Figueira | print numpy.__version__ |
30 | 1 | Luis Figueira | print numpy.__file__ |
31 | 1 | Luis Figueira | quit() |
32 | 1 | Luis Figueira | |
33 | 1 | Luis Figueira | * Scipy |
34 | 1 | Luis Figueira | |
35 | 1 | Luis Figueira | brew install gfortran |
36 | 1 | Luis Figueira | pip install scipy |
37 | 1 | Luis Figueira | |
38 | 1 | Luis Figueira | ** Testing (in python) |
39 | 1 | Luis Figueira | |
40 | 1 | Luis Figueira | import scipy |
41 | 1 | Luis Figueira | print scipy.__version__ |
42 | 1 | Luis Figueira | print scipy.__file__ |
43 | 1 | Luis Figueira | quit() |
44 | 1 | Luis Figueira | |
45 | 1 | Luis Figueira | * Matplotlib |
46 | 1 | Luis Figueira | |
47 | 1 | Luis Figueira | (couldn't get matplotlib installed using pip; had to download and manually install it instead) |
48 | 1 | Luis Figueira | |
49 | 1 | Luis Figueira | git clone https://github.com/matplotlib/matplotlib.git |
50 | 1 | Luis Figueira | cd matplotlib |
51 | 1 | Luis Figueira | python setup.py build |
52 | 1 | Luis Figueira | python setup.py install |
53 | 1 | Luis Figueira | |
54 | 1 | Luis Figueira | * Audiolab |
55 | 1 | Luis Figueira | |
56 | 1 | Luis Figueira | pip install scikits.audiolab |