Installing 6.300 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.

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:

Install 6.300 Software

The following command should install the 6.300 software. You may need to add sudo, or to use pip instead of pip3:

$ pip3 install https://sigproc.mit.edu/_static/fall24/software/lib6300-0.0.6.tar.gz

Optional: Install PyAudio

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

To do so, first 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