discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] uhd_swig still missing


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] uhd_swig still missing
Date: Mon, 01 Oct 2018 14:46:57 -0400

Hi Mike - Here's something to try that might provide some feedback that's hidden by the standard "import" command:
{{{
% cd /usr/local/lib64/python2.7/site-packages/gnuradio/uhd
% python2.7
>>> import importlib
>>> importlib.import_module('_uhd_swig')
}}}
and see what the last command returns. There should be a file "_uhd_swig.so" in the directory the "cd" is to ... you can always "ls" it to make sure. Hopefully that will help shed some light on the matter. - MLD

On Mon, Oct 1, 2018, at 1:15 PM, Mike Gilmer wrote:
I reported this problem previously (July 2018 timeframe) and I am still wrestling with it.

Running Fedora 28 on Dell laptop. Prior to updating laptop to Fed 28, gnuradio worked fine.

I ran dnf remove uhd (which removed gnu radio as well)  and then reinstalled them using dnf install

And just like before, I can run gnuradio companion and build my grc file but I cannot load it to my Ettus B210

I get the error:

Traceback (most recent call last):
  File "/home/foofoo/dev/B210/b210fftdisplay.py", line 24, in <module>
    from gnuradio import uhd
  File "/usr/local/lib64/python2.7/site-packages/gnuradio/uhd/__init__.py", line 135, in <module>
    _prepare_uhd_swig()
  File "/usr/local/lib64/python2.7/site-packages/gnuradio/uhd/__init__.py", line 38, in _prepare_uhd_swig
    import uhd_swig
  File "/usr/local/lib64/python2.7/site-packages/gnuradio/uhd/uhd_swig.py", line 17, in <module>
    _uhd_swig = swig_import_helper()
  File "/usr/local/lib64/python2.7/site-packages/gnuradio/uhd/uhd_swig.py", line 16, in swig_import_helper
    return importlib.import_module('_uhd_swig')
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named _uhd_swig


reply via email to

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