discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Re: not able to run grc


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Re: not able to run grc
Date: Fri, 13 Mar 2009 20:38:29 -0700
User-agent: Thunderbird 2.0.0.19 (X11/20090105)


Hi Josh, I am facing the same problem as Tushar did. I am getting an error as follows:

Traceback (most recent call last):
  File "/usr/local/bin/grc", line 25, in <module>
    from gnuradio.grc.platforms.base.Constants import VERSION
ImportError: No module named grc.platforms.base.Constants
address@hidden /]#

I also tried the path solution which you mentioned in the earlier post, but it didn't worked for me. I had installed the latest version of GNU radio (gnuradio-3.2) and was trying to run GRC. Can you please help me for this.


You have to set the PYTHONPATH. This is not a GRC problem, this is a gnuradio installation problem. I bet that if you try to run other gnuradio apps, you will see a similar problem.

Read the part about the PYTHONPATH http://gnuradio.org/trac/wiki/FedoraInstall

Also I was wondering that is it possible to see the source code associated with the flow graph that we make in GRC? or the source code of the specific block such as BPSK modulator?


The generated code is in the same folder as your saved flow graph. By default, its called top_block.py


Source code for modulators are here: http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-core/src/python/gnuradio/blks2impl



Thanks & Regards,
Somya Ajmera




reply via email to

[Prev in Thread] Current Thread [Next in Thread]