Post Go back to editing

Problems using ADALM-PLUTO in python

Category: Software
Product Number: ADALM-PLUTO

Dear support team,

I want to use ADALM-PLUTO in python.

But when I use the provided pyadi-iio, I get an error.

C:\Work\python\sdr>python
Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import adi
>>> sdr = adi.Pluto("ip:192.168.2.1")
Fatal: program compiled against libxml 20 using libxml 2
Fatal: program compiled against libxml 20 using libxml 2
Warning: program compiled against libxml 2090 using older 209
>>>

What's wrong?

Parents
  • I think I run into this some time ago as well.

    libiio.dll is being installed into C:\Windows\System32

    In case there is a libxml.dll in the same folder I run into this.

    What I did was to quarantine libxml.dll (moved it somewhere else where I can restore it in case something else breaks) and only keep libxml2.dll in C:\Windows\System32

    -Michael

Reply
  • I think I run into this some time ago as well.

    libiio.dll is being installed into C:\Windows\System32

    In case there is a libxml.dll in the same folder I run into this.

    What I did was to quarantine libxml.dll (moved it somewhere else where I can restore it in case something else breaks) and only keep libxml2.dll in C:\Windows\System32

    -Michael

Children