Open ericdude4 opened 1 year ago
I had the same error on M1 Max:
loaded user guest
,;:;;,
;;;;;
.=\', ;:;;:,
/_\', "=. \';:;:;
@=:__, \,;:;:\'
_(\.= ;:;;\'
`"_( _/="`
`"\'
loaded titledb/titles.json in 0.399159458 seconds
loaded file list in 0.001259416999999985 seconds
initThread start
Fri Feb 24 16:01:57 2023 Server Starts - 0.0.0.0:9000
scanning .
usb exception: No backend available
initThread finish
usb exception: No backend available
usb exception: No backend available
usb exception: No backend available
usb exception: No backend available
You can solve it with:
ln -s /opt/homebrew/lib/libusb-1.0.0.dylib /usr/local/lib/libusb.dylib
Enjoy
I had the same error on M1 Max:
loaded user guest ,;:;;, ;;;;; .=\', ;:;;:, /_\', "=. \';:;:; @=:__, \,;:;:\' _(\.= ;:;;\' `"_( _/="` `"\' loaded titledb/titles.json in 0.399159458 seconds loaded file list in 0.001259416999999985 seconds initThread start Fri Feb 24 16:01:57 2023 Server Starts - 0.0.0.0:9000 scanning . usb exception: No backend available initThread finish usb exception: No backend available usb exception: No backend available usb exception: No backend available usb exception: No backend available
You can solve it with:
ln -s /opt/homebrew/lib/libusb-1.0.0.dylib /usr/local/lib/libusb.dylib
Enjoy
Worked for me too, thanks!
I'm not sure why but here's what I did to fix it:
sudo mkdir /usr/local/lib
sudo ln -s /opt/homebrew/Cellar/libusb/1.0.27/lib/libusb-1.0.0.dylib /usr/local/lib/libusb.dylib
and that worked!
Describe the bug After following Mac install instructions (using asdf instead of pyenv) I am getting the following when running
python3 nut_gui.py
:Regarding my
libusb
installation:To Reproduce Steps to reproduce the behaviour:
Actual behaviour The application launches and behaves normally, but isn't able to recognize
libusb
.Expected behaviour
libusb
is recognized as usb backendScreenshots If applicable, add screenshots to help explain your problem.
NUT version (or git hash):
Additional context Running on M2 Max