I have successfully installed GNU Radio with MacPorts and I have installed from sources gr-osmosdr (I couldn't use MacPort because of a build failure). When I launch GRC, the new blocks (sources/sinks) of gr-osmosdr are available, fine. However when I run the osmocom_fft tool, I have this error :
Code: Select all
Traceback (most recent call last):
File "/opt/local/bin/osmocom_fft", line 34, in <module>
import osmosdr
ImportError: No module named osmosdr
Code: Select all
Traceback (most recent call last):
File "/opt/local/bin/osmocom_fft", line 34, in <module>
import osmosdr
File "/opt/local/lib/python2.7/site-packages/osmosdr/__init__.py", line 45, in <module>
from osmosdr_swig import *
File "/opt/local/lib/python2.7/site-packages/osmosdr/osmosdr_swig.py", line 26, in <module>
_osmosdr_swig = swig_import_helper()
File "/opt/local/lib/python2.7/site-packages/osmosdr/osmosdr_swig.py", line 22, in swig_import_helper
_mod = imp.load_module('_osmosdr_swig', fp, pathname, description)
ImportError: dlopen(/opt/local/lib/python2.7/site-packages/osmosdr/_osmosdr_swig.so, 2): Library not loaded: libgnuradio-osmosdr.0.1.1git.dylib
Referenced from: /opt/local/lib/python2.7/site-packages/osmosdr/_osmosdr_swig.so
Reason: image not found
Thanks,
Vincent