I upgrade the Yoctopuce API to the version 1.54037 and I got an error at initialisation.
Here is the stack trace:
File "/home/user/.local/lib/python3.10/site-packages/yoctopuce/yocto_api.py", line 2436, in RegisterHub
res = YAPI.InitAPI(0, errmsg)
File "/home/user/.local/lib/python3.10/site-packages/yoctopuce/yocto_api.py", line 2304, in InitAPI
YAPI.yloadYapiCDLL()
File "/home/user/.local/lib/python3.10/site-packages/yoctopuce/yocto_api.py", line 1294, in yloadYapiCDLL
YAPI._yapiGetNextHubRef = YAPI._yApiCLib.yapiGetNextHubRef
File "/usr/lib/python3.10/ctypes/__init__.py", line 387, in __getattr__
func = self.__getitem__(name)
File "/usr/lib/python3.10/ctypes/__init__.py", line 392, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /home/user/.local/lib/python3.10/site-packages/yoctopuce/cdll/libyapi-amd64.so: undefined symbol: yapiGetNextHubRef
I upgrade the Yoctopuce API to the version 1.54037 and I got an error at initialisation.
Here is the stack trace:
Downgrading to 1.1053532 resolved the problem.