Hi Ulf,

On 2014-01-11 22:32, Ulf Söderberg wrote:
Clayton and I worked on the FM RDS project over the last weeks. I think that 
the receiving side is in a pretty good state now. It works well with the RTL 
SDR.

I wonder how to get this working on Mac OS X with the macports version of GNU 
Radio.

Traceback (most recent call last):
   File "/Users/ulf/Documents/Projects/gnuradio/gr-rds-master/apps/rds_rx.py", line 
28, in <module>
     import rds
ImportError: No module named rds


Python can't find the module. It should be at /opt/local/lib/python2.7/site-packages and you have to add

export PYTHONPATH=/opt/local/lib/python2.7/site-packages

to you .bashrc.

However, I ran into problems with the shared libraries when I installed it under /opt/local. I would recommend to installed it somewhere in your home, like ~/usr. Then you have to add to your .bashrc something like

export PYTHONPATH=/Users/ulf/usr/lib/python2.7/site-packages
export DYLD_LIBRARY_PATH=/Users/ulf/usr/lib

Best,
Bastian

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to