discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: Maximilian Stiefel
Subject: Re: [Discuss-gnuradio] DVB-T TX - ImportError: No module named _osmosdr_swig
Date: Sat, 17 Feb 2018 18:12:09 +0000

Hi Andreas,

to me this sounds like you have not installed osmosdr and or or swig. 
Forgetting to execute

sudo ldconfig 

is also a well-known pitfall. You might want to take a look at

https://packages.ubuntu.com/search?keywords=Gr-osmosdr&searchon=sourcenames

and 

https://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=Swig&searchon=sourcenames

Best regards,

Maximilian Stiefel

Lördag den 17 februari 2018 skrev Andreas Weller:
> Hi.
> I'm trying to follow the instructions
> onhttp://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]