Post Go back to editing

trouble importing iio (iio_get_backends_count)

Category: Software
Product Number: AD4630-24

Dear Community,

like many others I have trouble importing iio despite having "at least v0.23 of the C library and v0.23.1 of the python bindings (pylibiio)".
To be more precise, I'm using:
iio_info version: 0.25 (git tag:b6028fde)
Libiio version: 1.0 (git tag: 024ebe4) backends: local ip usb xml 

My environment is Ubuntu 20.04.6 LTS (GNU/Linux 5.10.104-tegra aarch64) and I'm happy to use either python3.7 and 3.8.

Similarly to other users I'm experiencing the following on python3.8 (/3.7) import iio (and import adi):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.8/dist-packages/", line 229, in <module>
_get_backends_count = _lib.iio_get_backends_count
File "/usr/lib/python3.8/ctypes/", line 386, in __getattr__
func = self.__getitem__(name)
File "/usr/lib/python3.8/ctypes/", line 391, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /path/to/your/myenv/lib/ undefined symbol: iio_get_backends_count

Any help is greatly appreciated.

Kind regards,