User Tools

Site Tools


This page has deprecated and moved to the new documentation framework of the main Bitcraze website. Please go to

Installing Crazyflie client with macPorts

This procedure has been tested on a just-installed Yosemite installation. Commands in code blocks have to be executed in a terminal window.


Download and install macport installer from

Install the command line developer tools:

xcode-select --install

I found that installing only the command line developer tools is enough for Crazyflie client dependencies. However installing Xcode seems to be recommended. I installed the command line developer tools:

Update mac ports

sudo port selfupdate

Update already installed ports (none on a fresh installation)

sudo port upgrade outdated

Mandatory dependencies

Install Crazyflie client dependencies

sudo port install libusb python27 py27-pyusb py27-SDL2 py27-pyqt4

Most but not all packages are pre-compiled so this installation takes some time. It took about 12 minutes for me, YMMV.

Now you are able to clone and run the Crazyflie client!

cd Documents
git clone
cd crazyflie-clients-python
/opt/local/bin/python2.7 bin/cfclient

Optional dependencies

If you want to use the plotter tab, to graph in real time Crazyflie log variables, you need to install pyqtgraph. It installs a lot of dependencies and took about 5 minutes (The ports install time varies a lot depending on how many ports are pre-compiled):

sudo port install py27-pyqtgraph

You can now access the plotter tab:

/opt/local/bin/python2.7 bin/cfclient


doc/crazyflie/host/mac/macports.txt · Last modified: 2020-05-12 14:29 by kimberly