Is there a tutorial module installed to /usr/local/lib/python2.7/dist-packages?
M On 04.05.2015 20:57, Peter Mathys wrote: > I have downloaded the most recent version of the gr-tutorial from github > and installed it using > cd gr-tutorial > mkdir build > cd build > cmake .. > make > sudo make install > sudo ldconfig > Everything works fine up to this point and I don't get any error > messages. When I open > gr-tutorial/examples/tutorial4/my_qpsk_demod.grc in gnuradio-companion > (3.7.6.1) the flowgraph displays correctly, but when I try to execute > the flowgraph I get the error > > Traceback (most recent call last): > File > "/home/viby/gnuradio/gr-tutorial/examples/tutorial4/tutorial4_demod.py", > line 23, in <module> > import tutorial > ImportError: No module named tutorial >>>> Done (return code 1) > > The first few lines of tutorial4_demod.py are: > 8 from PyQt4 import Qt > 9 from PyQt4.QtCore import QObject, pyqtSlot > 10 from gnuradio import analog > 11 from gnuradio import blocks > 12 from gnuradio import digital > 13 from gnuradio import eng_notation > 14 from gnuradio import gr > 15 from gnuradio import qtgui > 16 from gnuradio.eng_option import eng_option > 17 from gnuradio.filter import firdes > 18 from optparse import OptionParser > 19 import PyQt4.Qwt5 as Qwt > 20 import numpy > 21 import sip > 22 import sys > 23 import tutorial > As far as I can tell build/cmake is not producing a tutorial module and > I'm at a loss as to what exactly should go into this module. The > constructor for the my_qpsk_demod_cb block clearly relies on the > tutorial module using: > self.tutorial_my_qpsk_demod_cb_0 = tutorial.my_qpsk_demod_cb(True) > What am I overlooking here? I use Ubuntu 14.04 and the PYTHONPATH is set to > /usr/local/lib/python2.7/dist-packages > Any help will be much appreciated and my apologies if I'm overlooking > something obvious. > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio