Installing NumPy SciPy Matplotlib on mac
November 25, 2008, 4:27 am
Filed under: Uncategorized
Filed under: Uncategorized
It is more difficult than I have anticipated to install all these python packages. Compilation problems and obscure error messages are everywhere when I try to build and install these packages! After a few hours of googling, i found that Enthought has a ~500MB distribution of python that has all of these packages. http://www.enthought.com/products/epd.php (it is free for students!)
>>> import numpy
>>> numpy.test('1','10')
>>> import scipy
>>> scipy.test('1','10')
>>> import pylab
>>> x = pylab.randn(10000)
>>> pylab.hist(x, 100)
>>> pylab.show()
Leave a Comment