-
-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
I have tried to install PySpaceMouse on MacOS M1, but it doesn`t work.
Is there anybody who fixed this issue?
I have installed hidapi trough brew install hidapi.
My result from basicExample.py is there:
✘ kuba@KA-M1 ~/Documents/git/kuba/pyspacemouse master ± python3.11 ./examples/basicExample.py
Traceback (most recent call last):
File "/Users/kuba/Documents/git/kuba/pyspacemouse/./examples/basicExample.py", line 4, in <module>
success = pyspacemouse.open()
^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pyspacemouse/pyspacemouse.py", line 703, in open
all_devices = list_devices()
^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/pyspacemouse/pyspacemouse.py", line 643, in list_devices
hid = Enumeration()
^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/easyhid/easyhid.py", line 366, in __init__
self.device_list = _hid_enumerate(vid, pid)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/easyhid/easyhid.py", line 428, in _hid_enumerate
start = hidapi.hid_enumerate(vendor_id, product_id)
^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/cffi/api.py", line 912, in __getattr__
make_accessor(name)
File "/opt/homebrew/lib/python3.11/site-packages/cffi/api.py", line 908, in make_accessor
accessors[name](name)
File "/opt/homebrew/lib/python3.11/site-packages/cffi/api.py", line 838, in accessor_function
value = backendlib.load_function(BType, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: function/symbol 'hid_enumerate' not found in library '<None>': dlsym(RTLD_DEFAULT, hid_enumerate): symbol not foundRelated links:
Metadata
Metadata
Assignees
Labels
No labels