Could be a number of problems: + The module "mc4020" is wasn't compiled / installed in the first place;
How could I install it?(My system is Ubnutu7.10, and I am step by step see this page http://www.gnuradio.org/trac/wiki/UbuntuInstall) + PYTHONPATH isn't correct to find it; I am sure I can run other gnuradio-example program.(Is that mean PYTHONPATH ok?) + code is too old, and no longer works with the SVN trunk (or release tarball).= That is too bad, has any way can I get example code to run FM receiver? Thank your answer!! >> I need someone help me, why I can't run example from this page: http://www.gnu.org/software/gnuradio/doc/exploring-gnuradio.html >> >> When I run example 1:Dial Tone Output. >> I get error message: >> Traceback (most recent call last): >> File "am.py", line 20, in <module> >> fg = build_graph () >> File "am.py", line 10, in build_graph >> fg = gr.flow_graph () >> AttributeError: 'module' object has no attribute 'flow_graph' > >This example will no longer work with the current SVN trunk (assuming >that's what you're using), because the "flow_graph" code has been >removed. Someone needs to update that page ;) ... or create a >backwards compatible "flow_graph" interpretation layer. >> When I run example 2:A Complete FM Receiver >> I get error message: >> Traceback (most recent call last): >> File "test.py", line 5, in <module> >> from gnuradio import mc4020 >> ImportError: cannot import name mc4020 >Could be a number of problems: >+ The module "mc4020" is wasn't compiled / installed in the first place; >+ PYTHONPATH isn't correct to find it; >+ code is too old, and no longer works with the SVN trunk (or release >tarball).= _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
