Closed Oliver0804 closed 4 months ago
Duplicate of https://github.com/greatscottgadgets/cynthion/issues/136. Non-homebrew pythons aren't patched to find the homebrew libraries.
@Oliver0804 Does brew install python
or one of the other solutions mentioned in #136 work for you?
@Oliver0804 Does
brew install python
or one of the other solutions mentioned in #136 work for you?
I prefer not to use brew install python to set up the Python environment. In fact, I'm more accustomed to using conda for creating environments, given the numerous versions of Python and the significant dependency issues.
My solution is to use brew install libusb and then add the following to ~/.zshenv:
export DYLD_LIBRARY_PATH="/opt/homebrew/opt/libusb/lib:$DYLD_LIBRARY_PATH"
This approach temporarily resolves the issue.
I use conda as my Python environment and use Python 3.11 version. I installed libusb via brew install libusb. However, I still get the following information: