Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Error: No backend available" during Mac OS instllation. #370

Open
zapta opened this issue Mar 7, 2024 · 1 comment
Open

"Error: No backend available" during Mac OS instllation. #370

zapta opened this issue Mar 7, 2024 · 1 comment

Comments

@zapta
Copy link

zapta commented Mar 7, 2024

I am trying to install pyftdi on Mac OS but am getting an error "No backend available". Any suggestion what may be the problem?

$ sw_vers 
ProductName:		macOS
ProductVersion:		14.3
BuildVersion:		23D56

$ python --version
Python 3.12.1

$ brew install libusb
Warning: libusb 1.0.27 is already installed and up-to-date.
To reinstall 1.0.27, run:
  brew reinstall libusb

$ pip3 install pyftdi
Requirement already satisfied: pyftdi in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (0.55.0)
Requirement already satisfied: pyusb!=1.2.0,>=1.0.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pyftdi) (1.2.1)
Requirement already satisfied: pyserial>=3.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from pyftdi) (3.5)

$ ftdi_urls.py 
Error: No backend available     <<======= error

@zapta
Copy link
Author

zapta commented Mar 7, 2024

Ok found this answer and it works. https://stackoverflow.com/questions/70729330/python-on-m1-mbp-trying-to-connect-to-usb-devices-nobackenderror-no-backend-a

Leaving this issue open with the request to add it to the installation notes, or a better solution, if one available.

export DYLD_LIBRARY_PATH="/opt/homebrew/lib:$DYLD_LIBRARY_PATH"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant