Post Go back to editing

PLUTO SDR TypeError: 'Context' object is not callable

RX LO 2000000000
Traceback (most recent call last):
  File "pluto.py", line 66, in <module>
    sdr.tx(iq)
  File "/usr/local/lib/python3.8/dist-packages/pyadi_iio-0.0.9-py3.8.egg/adi/rx_tx.py", line 396, in tx
  File "/usr/local/lib/python3.8/dist-packages/pyadi_iio-0.0.9-py3.8.egg/adi/rx_tx.py", line 331, in _tx_init_channels
  File "/usr/local/lib/python3.8/dist-packages/iio.py", line 1013, in __init__
    self._ctx = device.ctx()
TypeError: 'Context' object is not callable

Using Python3 on Ubuntu 20 LTS

Parents Reply
  • Hi thanks for quick help and fix..

    Collecting pylibiio==0.21.0
      Downloading pylibiio-0.21.tar.gz (12 kB)
    Skipping wheel build for pylibiio, due to binaries being disabled for it.
    Installing collected packages: pylibiio
      Attempting uninstall: pylibiio
        Found existing installation: pylibiio 0.21.1
        Uninstalling pylibiio-0.21.1:
          Successfully uninstalled pylibiio-0.21.1
        Running setup.py install for pylibiio ... done
    Successfully installed pylibiio-0.21

Children
No Data