joergmlpts / blood-pressure-monitor

Python application for Microlife's blood pressure monitors to download data and set the clock and ID via USB and Bluetooth.
MIT License
31 stars 3 forks source link

libhid issue #1

Closed ontran closed 1 year ago

ontran commented 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

joergmlpts commented 1 year ago

It works for me with Ubuntu 20 and Ubuntu 22.

ontran commented 1 year ago

i.c., time to upgrade to 22 then. Thanks very much! liyong