SWCAudioDaySoftware » History » Version 7
Version 6 (Luis Figueira, 2012-09-03 03:56 PM) → Version 7/8 (Luis Figueira, 2012-09-03 04:01 PM)
h1. SWCAudioDaySoftware
h3. Installation under OSX 10.7 (Lion)
(assuming homebrew is already installed)
<pre>brew install readline sqlite gdbm pkg-config
brew install python --framework --universal</pre>
(add this to ~/.bash_profile)
@export PATH=/usr/local/share/python:$PATH@
<pre>
cd /System/Library/Frameworks/Python.framework/Versions
sudo rm Current
ln -s /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/Current
source ~/.bash_profile (or reload terminal)
easy_install pip
</pre>
h4. Numpy
<pre>
pip install numpy
</pre>
h5. Testing (in python)
<pre>
import numpy
print numpy.__version__
print numpy.__file__
quit()
</pre>
You should get numpy version 1.6.2 and a file starting with a path @/usr/local/Cellar/python/2.7.3/...@
h4. Scipy
<pre>
brew install gfortran
pip install scipy
</pre>
h5. Testing (in python)
<pre>
import scipy
print scipy.__version__
print scipy.__file__
quit()
</pre>
You should get scipy version 0.10.1 and a file starting with a path @/usr/local/Cellar/python/2.7.3/...@
h4. * Matplotlib
(couldn't get matplotlib installed using pip; had to download and manually install it instead)
<pre>
git clone https://github.com/matplotlib/matplotlib.git
cd matplotlib
python setup.py build
python setup.py install
</pre>
h5. Testing (in Python)
<pre>
import matplotlib
print matplotlib.__version__
print matplotlib.__file__
quit()
</pre>
You should get matplotlib version 1.2.x and a file starting with a path @/usr/local/Cellar/python/2.7.3/...@
h4. * Audiolab
<pre>
pip install scikits.audiolab
</pre>
h5. Testing (in Python)
<pre>
import scikits.audiolab
print scikits.audiolab.__version__
print scikits.audiolab.__file__
quit()
</pre>
You should get scikits.audiolab version 0.11.0 and a file starting with a path @/usr/local/Cellar/python/2.7.3/...@
h3. Installation under OSX 10.7 (Lion)
(assuming homebrew is already installed)
<pre>brew install readline sqlite gdbm pkg-config
brew install python --framework --universal</pre>
(add this to ~/.bash_profile)
@export PATH=/usr/local/share/python:$PATH@
<pre>
cd /System/Library/Frameworks/Python.framework/Versions
sudo rm Current
ln -s /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/Current
source ~/.bash_profile (or reload terminal)
easy_install pip
</pre>
h4. Numpy
<pre>
pip install numpy
</pre>
h5. Testing (in python)
<pre>
import numpy
print numpy.__version__
print numpy.__file__
quit()
</pre>
You should get numpy version 1.6.2 and a file starting with a path @/usr/local/Cellar/python/2.7.3/...@
h4. Scipy
<pre>
brew install gfortran
pip install scipy
</pre>
h5. Testing (in python)
<pre>
import scipy
print scipy.__version__
print scipy.__file__
quit()
</pre>
You should get scipy version 0.10.1 and a file starting with a path @/usr/local/Cellar/python/2.7.3/...@
h4. * Matplotlib
(couldn't get matplotlib installed using pip; had to download and manually install it instead)
<pre>
git clone https://github.com/matplotlib/matplotlib.git
cd matplotlib
python setup.py build
python setup.py install
</pre>
h5. Testing (in Python)
<pre>
import matplotlib
print matplotlib.__version__
print matplotlib.__file__
quit()
</pre>
You should get matplotlib version 1.2.x and a file starting with a path @/usr/local/Cellar/python/2.7.3/...@
h4. * Audiolab
<pre>
pip install scikits.audiolab
</pre>
h5. Testing (in Python)
<pre>
import scikits.audiolab
print scikits.audiolab.__version__
print scikits.audiolab.__file__
quit()
</pre>
You should get scikits.audiolab version 0.11.0 and a file starting with a path @/usr/local/Cellar/python/2.7.3/...@