Closed ontran closed 1 year ago
Tried on Ubuntu 16, python 3.5, libhidapi-libusb.so.0 1.0.5:
$ python3 -c "import hid" Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.5/dist-packages/hid/init.py", line 83, in hidapi.hid_get_input_report.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_size_t] File "/usr/lib/python3.5/ctypes/init.py", line 360, in getattr func = self.getitem(name) File "/usr/lib/python3.5/ctypes/init.py", line 365, in getitem func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /usr/lib/x86_64-linux-gnu/libhidapi-libusb.so.0: undefined symbol: hid_get_input_report
It works for me with Ubuntu 20 and Ubuntu 22.
i.c., time to upgrade to 22 then. Thanks very much! liyong
Tried on Ubuntu 16, python 3.5, libhidapi-libusb.so.0 1.0.5:
$ python3 -c "import hid" Traceback (most recent call last): File "", line 1, in
File "/usr/local/lib/python3.5/dist-packages/hid/init.py", line 83, in
hidapi.hid_get_input_report.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_size_t]
File "/usr/lib/python3.5/ctypes/init.py", line 360, in getattr
func = self.getitem(name)
File "/usr/lib/python3.5/ctypes/init.py", line 365, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/x86_64-linux-gnu/libhidapi-libusb.so.0: undefined symbol: hid_get_input_report