You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Traceback (most recent call last):
File "/Users/oliver/anaconda3/envs/luan/bin/cynthion", line 8, in <module>
sys.exit(main())
^^^^^^
File "/Users/oliver/anaconda3/envs/luan/lib/python3.11/site-packages/cynthion/commands/cli.py", line 91, in main
bitstream_info = get_bitstream_information()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/oliver/anaconda3/envs/luan/lib/python3.11/site-packages/cynthion/commands/util.py", line 30, in get_bitstream_information
device = ApolloDebugger._find_device([
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/oliver/anaconda3/envs/luan/lib/python3.11/site-packages/apollo_fpga/__init__.py", line 172, in _find_device
device = usb.core.find(backend=backend, idVendor=vid, idProduct=pid, custom_match=custom_match)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/oliver/anaconda3/envs/luan/lib/python3.11/site-packages/usb/core.py", line 1309, in find
raise NoBackendError('No backend available')
usb.core.NoBackendError: No backend availabl
The text was updated successfully, but these errors were encountered:
@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:
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:
The text was updated successfully, but these errors were encountered: