We assume you already have Python 3 and brew available on your Mac. Thankfully, setup on MacOS X is not so bad!

Note: If you are running VMWare Fusion on MacOS, then you can also try the Windows install process.

Install libusb

Start by installing libusb with

brew install libusb

Install pyftdi and Blinka

Then, pip3 install pyftdi which will also install some other libraries

Then pip3 install adafruit-blinka

Test!

Finally, set the environment variable with

export BLINKA_FT232H=1

and run python3. In the REPL, type

import board
dir(board)

You should get no errors, and a list of the pins available

This guide was first published on Sep 29, 2019. It was last updated on Sep 29, 2019.
This page (Mac OSX) was last updated on Jun 03, 2020.