|
From: | Mostafa Shabani |
Subject: | Re: [Discuss-gnuradio] error make python test code in OOT module |
Date: | Mon, 22 May 2017 23:05:57 +1000 |
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! - MLDOn Sun, May 21, 2017, at 10:40 PM, Mostafa Shabani wrote:I am following the tutorial atto 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_unittest2: ImportError: No module named gnuradiowhile I have a working installation of Gnuradio. My first guesses are:1- something is wrong with PYTHONPATHor2- something is wrong about the prefix in gnuradio installation (done with with PYBOMBS) while running "make test"Any ideas? How should I debug deeper?
[Prev in Thread] | Current Thread | [Next in Thread] |