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 installAnd just like before, I can run gnuradio companion and build my grc file but I cannot load it to my Ettus B210I get the error:Traceback (most recent call last):File "/home/foofoo/dev/B210/b210fftdisplay.py", line 24, in <module>from gnuradio import uhdFile "/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_swigimport uhd_swigFile "/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_helperreturn 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
No comments:
Post a Comment