Hi Mostafa - Yes, chances are that GNU Radio is installed where Python isn't looking for it. To be helpful, we'll need to know a few things: * What is the install prefix for GNU Radio as per PyBOMBS?
* What does "echo $PYTHONPATH" return when executed in a terminal? * What OS / Version? Cheers! - MLD On Sun, May 21, 2017, at 10:40 PM, Mostafa Shabani wrote: > I am following the tutorial at > https://wiki.gnuradio.org/index.php/OutOfTreeModules > to build a simple OOT module. > > when I try running "ctest -V -R square" I get the following error: > > 2: Traceback (most recent call last): > 2: File "/home/mostafa/Dropbox/GnuRadioandUSRP/MyModules/gr- > howto/python/qa_square_ff.py", line 22, in <module>> 2: from > gnuradio import gr, gr_unittest > 2: ImportError: No module named gnuradio > > while I have a working installation of Gnuradio. My first guesses are:> 1- > something is wrong with PYTHONPATH > or > 2- something is wrong about the prefix in gnuradio installation (done > with with PYBOMBS) while running "make test"> > Any ideas? How should I debug deeper?
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio