Saturday, February 17, 2018

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

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:    
andreas@notebook:~/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  andreas@notebook:~/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:  andreas@notebook:~/src/sdr-examples$ which gnuradio-config-info  /usr/bin/gnuradio-config-info      Thank you!      Kind regards,     Andreas  

No comments:

Post a Comment