Trying to install PLR on Raspberry Pi

Following along with the user guide and some of the posts here (like this one).

I got as far as trying to run the startup for the starlet but getting a usb error:

await lh.setup()
RuntimeError: USB is not enabled. Please install pyusb and libusb.https://docs.pylabrobot.org/installation.html

I pip install both pyusb and libusb and still getting the error.

Has anyone else seen this? I’m thinking its a basic pi install troubleshooting thing

what happens when you run python -c 'import usb.core; import usb.util; import libusb_package'

I got

python -c 'import usb.core; import usb.util; import libusb_package'


Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'libusb_package'

Then I ran pip install libusb_package

But I still get the USB error

EDIT:
I refreshed the notebook and kernel and it worked! It might have just been missing libusb_package

1 Like