Thursday, November 26, 2015

Re: [Discuss-gnuradio] Import Error

Hi Dave,

like the last times with benchmark_tx, this script is something you copied from somewhere else and doesn't work with the version you have installed.
Why do you keep doing this?
Use the scripts that work with your *current* version of GNU Radio. This one, like benchmark_tx, is contained in your GNU Radio installation itself, and probably got installed to /usr/[local/]share/gnuradio/examples/uhd.

Best regards,
Marcus

On 26.11.2015 01:42, Rama V wrote:
Hi,
I am trying to compile a file namely usrp_spectrum_sense_tx.py but it says the following error message:

Traceback (most recent call last):
  File "./usrp_spectrum_sense_tx.py", line 180, in <module>
    from gnuradio import gr, gru, eng_notation, optfir, window
ImportError: cannot import name optfir

It is showing an ImportError. I need to sense the channel and send the data on the available channel. I have set my PYTHONPATH to dist-packages. Is there any specific mistake I am unable to see? Please suggest. Any help is appreciated.

Thank you,

Regards,
Dave


_______________________________________________  Discuss-gnuradio mailing list  Discuss-gnuradio@gnu.org  https://lists.gnu.org/mailman/listinfo/discuss-gnuradio  

No comments:

Post a Comment