Skip to content

No Backend Available - Path Directly Specified #484

Closed Answered by DriftChips
DriftChips asked this question in Q&A
Discussion options

You must be logged in to vote

Okay I found a solution that worked for me, hopefully it will do the same for someone else.

The solution was chopped together from these answers:

pyusb fails to find libusb when using pyinstaller

Pyusb on windows - no backend available

  1. First package your [YOUR_FILE_NAME].py script using pyinstaller, this was my cmd line, simplified for now:

pyinstaller --onefile isControllerConnected.py

If you try to the run executable, you are likely to face the No Backend Available error in the terminal

  1. Once the build is complete, you should see a .spec file created in the same directory with your file's name ([YOUR_FILE_NAME].spec).

  2. Open the .spec file with whatever code editor you want.

  3. Edit …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DriftChips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant