Sunday, September 2, 2012

Quick note: Installing numpy, scipy, and matplotlib

After some trial and error in trying to install NumPy, SciPy, and Matplotlib, it appears the easier way to do it is via macports. I am using python 2.7, so I installed the corresponding versions. I already had gcc and gfortran installed.

sudo port install py27-numpy
sudo port install py27-scipy
sudo port install py27-matplotlib

After installation finishes, especially for NumPy and SciPy, do a quick run of the unit tests to make sure your Python environment is set up correctly. I am planning on playing around with the scikits-learn package.

1 comment:

  1. This site helps to clear your all query. ba exam time table 2021
    bsc 3rd year time table 2021 This is really worth reading. nice informative article.

    ReplyDelete