From 87786c4d99f7a87510bba67d1d791277a06928d0 Mon Sep 17 00:00:00 2001 From: Tove Rumar Date: Mon, 16 Sep 2024 11:41:00 +0200 Subject: [PATCH] Update documentation for how to run python 3.12 on macOs --- docs/installation/install.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/installation/install.md b/docs/installation/install.md index 0029b638..95da8665 100644 --- a/docs/installation/install.md +++ b/docs/installation/install.md @@ -77,3 +77,16 @@ With linux, the crazyradio is easily recognized, but you have to setup UDEVpermi ### Windows Look at the [Zadig crazyradio instructions](https://www.bitcraze.io/documentation/repository/crazyradio-firmware/master/building/usbwindows/) to install crazyradio on Windows + +### macOs +If you are using python 3.12 on mac you need to install libusb using homebrew. +``` +$ brew install libusb +``` + +If your Homebrew installation is in a non default location or if you want to install libusb in some other way you +might need to link the libusb library like this; +``` +$ export DYLD_LIBRARY_PATH="YOUR_HOMEBREW_PATH/lib:$DYLD_LIBRARY_PATH" +``` +