Post Go back to editing

pyadi-iio support for ADRV9002


I'm trying to access a ADRV9002 board through pyadi-iio library and libiio with the current (and hopefully newest) versions:

>>> iio.version
(0, 21, 'b23a03b')
>>> adi.__version__

But I get this error when running the script:

Traceback (most recent call last):
  File "", line 78, in <module>
    sdr = adi.adrv9002(uri=target)
AttributeError: module 'adi' has no attribute 'adrv9002'

When looking closer at the pyadi-iio package content, I don't see the entry for ADRV9002, that should be supported according to the documentation (

>>> dir(adi)
['DAQ2', 'DAQ3', 'Decimal', 'FMComms5', 'Iterable', 'OrderedDict', 'Pluto', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', 'ad5627', 'ad5686', 'ad7124', 'ad9094', 'ad9144', 'ad9152', 'ad9361', 'ad9363', 'ad9364', 'ad936x', 'ad9371', 'ad9680', 'adis16460', 'adis16507', 'adrv9009', 'adrv9009_zu11eg', 'adxl345', 'attribute', 'context_manager', 'daq2', 'daq3', 'dds', 'fmclidar1', 'fmcomms5', 'ltc2983', 'name', 'np', 'numbers', 'obs', 'phy', 'rx', 'rx_tx', 'tx']

Does anyone know what is wrong here?