Error in importing in python
Hadi1374 opened this issue · comments
Hi,
I'm trying to "import gr_bluetooth" in python and I've done the build process. I'm getting this error:
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/gr_bluetooth/init.py", line 45, in
from gr_bluetooth import *
File "/usr/local/lib/python2.7/dist-packages/gr_bluetooth/gr_bluetooth.py", line 17, in
_gr_bluetooth = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/gr_bluetooth/gr_bluetooth.py", line 16, in swig_import_helper
return importlib.import_module('_gr_bluetooth')
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
ImportError: No module named _gr_bluetooth
Hi,
gr-bluetooth is very old and no longer maintained, so I would not expect it to work when built against modern GNU Radio.
i had the same problem when trying to import gr_bluetooth just after installing it. Running sudo ldconfig
fixed the problem.