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
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