braiden/python-ant-downloader

usb.core.USBError: [Errno 13] Access denied (insufficient permissions)

Frank3412 opened this issue · 1 comments

Hello,
I am trying to connect my Crazyradio PA to my laptop, but everytime I initiate:
~/crazyradio-firmware$ python3 usbtools/launchBootloader.py

I get the error:
usb.core.USBError: [Errno 13] Access denied (insufficient permissions)

Any help is needed, thank you.

I have solve my problem, and here is what I did.
First, I updated my python-usb:

sudo apt-get install python-usb python3-usb
And then I could initiate the code that would not work previously, what I needed to do was use 'sudo' so that python 3 does not deny me access to the folder.
So as long as I was in the directory: cd crazyeadio-firmware/firmware
and then I did the code: sudo python3 usbtools/launchBootloader.py
It will work as it should.
However, I did get to another roadblock, but for my main issue has been solved.