Installing 6.003 Software On Mac OSX

You are not logged in.

Please Log In for full access to the web site.
Note that this link will take you to an external site (https://shimmer.mit.edu) to authenticate, and then you will be redirected back to this page.

1) Install Python

Python is pre-installed on MacOS X, but it is often an older version, for this class, you will need Python 3.6 or later.

First open a Terminal window (from the Applications/Utilities folder). Type python3 and see whether it says Python 3.6.x or something newer. If it does, you are all set! If not, you will need to install it. You can get a Python installer here:

2) Install 6.003 Software

The following command should install the 6.003 software (you may need to add sudo, or to use pip instead of pip3):

$ pip3 install https://sigproc.mit.edu/_static/spring25/software/lib6003-0.0.4.tar.gz

3) (Optional, but nice) Install PyAudio

You may also wish to install the pyaudio package, which is required to play WAV files interactively from lib6003 (though it is not necessary for opening or saving WAV files).

To do so, firstly, install Homebrew if you don't already have it, and run the following to install the portaudio library:

$ brew install portaudio

After having done this, you should be able to install pyaudio with:

$ pip3 install --global-option='build_ext' --global-option='-I/usr/local/include' --global-option='-L/usr/local/lib' pyaudio