From 42f4bf10465b072d98679064c650d9ba88ed0ea2 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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/installation/install.md b/docs/installation/install.md index 0029b638..3fcc5381 100644 --- a/docs/installation/install.md +++ b/docs/installation/install.md @@ -77,3 +77,15 @@ 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" +```