Hi MLD, Thank you for your reply. the prefix is: \prefix PYTHONPATH is empty Ubuntu 16.04.1
and (if it is helpful) whereis python2.7 returns: python2: /usr/bin/python2.7 /usr/bin/python2.7-config /usr/bin/python2 /usr/lib/python2.7 /etc/python2.7 /usr/local/lib/python2.7 /usr/include/python2.7 /usr/share/man/man1/python2.1.gz Regards, Mostafa On Mon, May 22, 2017 at 10:25 PM, Michael Dickens <michael.dick...@ettus.com > wrote: > 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? > > > -- , Mostafa Shabani.
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio