discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] DVB-T TX - ImportError: No module named _osmosdr_swig


From: Andreas Weller
Subject: [Discuss-gnuradio] DVB-T TX - ImportError: No module named _osmosdr_swig
Date: Sat, 17 Feb 2018 16:39:38 +0100

Hi.
I'm trying to follow the instructions on
http://www.irrational.net/2014/03/02/digital-atv/

But trying finally it fails with this error:

address@hidden:~/src/sdr-examples$ python2 dvbt-hackrf.py 
Traceback (most recent call last):
  File "dvbt-hackrf.py", line 25, in <module>
    import osmosdr
  File "/usr/lib/python2.7/dist-packages/osmosdr/__init__.py", line 26, in <module>
    from osmosdr_swig import *
  File "/usr/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 21, in <module>
    _osmosdr_swig = swig_import_helper()
  File "/usr/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 20, in swig_import_helper
    return importlib.import_module('_osmosdr_swig')
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named _osmosdr_swig
address@hidden:~/src/sdr-examples$ 
Any idea how to solve this issue?
OS: Ubuntu 17.10
Gnuradio: installed from packet manager - 3.7.10

I previously had a self compiled Gnuradio but I removed it:
address@hidden:~/src/sdr-examples$ which gnuradio-config-info
/usr/bin/gnuradio-config-info


Thank you!


Kind regards,
   Andreas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]