On Fri, Oct 12, 2012 at 2:04 PM, nexy_sm <[email protected]> wrote: > Python path is OK. Gnuradio works fine, I have tried some examples using GRC, > etc.
Have you verified that that module is actually installed where you think it is? If you are just building the gr-howto-write-a-block like this: cmake -DCMAKE_INSTALL_PREFIX=/opt/howto [path to source]/gr-howto-write-a-block make && sudo make install When you look in /opt/howto/lib/python2.7/dist-packages, you will find a 'howto' directory. Under that, you'll find: howto_swig.py howto_swig.pyc howto_swig.pyo _howto_swig.so __init__.py __init__.pyc __init__.pyo All of those files have to be there. Then, if PYTHONPATH=/opt/howto/lib/python2.7/dist-packages, you can 'import howto' from inside Python. Tom > I also used gr-modtool like it was explained on the website. > I haven't looked at swig interface file since it was not part of the > tutorial, but I think it should have been generated correctly by gr-modtool. > > How can I check installation of the SWIG? > > Anyway I will not have chance to try anything until monday. > > Regards and thanks > > > > -- > View this message in context: > http://gnuradio.4.n7.nabble.com/cannot-make-new-signal-processing-block-tp37924p37982.html > Sent from the GnuRadio mailing list archive at Nabble.com. > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
