Hello,
We are trying to run the "ad9081_tdd_example.py" code using ZCU102+AD9081 (https://github.com/analogdevicesinc/pyadi-iio/blob/a5eb253aa30678fead58dae7df06b9a7dce3c1be/examples/ad9081_tdd_example.py#L14). But there is an error:
pci@pci-virtual-machine:~$ /bin/python3 /home/pci/Documents/ad9081_tdd_example.py Traceback (most recent call last): File "/home/pci/Documents/ad9081_tdd_example.py", line 7, in <module> import adi File "/home/pci/.local/lib/python3.8/site-packages/adi/__init__.py", line 5, in <module> from adi.ad469x import ad469x File "/home/pci/.local/lib/python3.8/site-packages/adi/ad469x.py", line 10, in <module> from adi.context_manager import context_manager File "/home/pci/.local/lib/python3.8/site-packages/adi/context_manager.py", line 5, in <module> import iio File "/home/pci/.local/lib/python3.8/site-packages/iio.py", line 229, in <module> _get_backends_count = _lib.iio_get_backends_count File "/usr/lib/python3.8/ctypes/__init__.py", line 386, in __getattr__ func = self.__getitem__(name) File "/usr/lib/python3.8/ctypes/__init__.py", line 391, in __getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /lib/x86_64-linux-gnu/libiio.so.1: undefined symbol: iio_get_backends_count
I run the above code on the VMware Ubuntu 20.04, Python 3.8.
Could you help us with this?
Thanks,
Dongyu