discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] ImportError: cannot import name usrp


From: Nate Temple
Subject: Re: [Discuss-gnuradio] ImportError: cannot import name usrp
Date: Fri, 11 Oct 2019 13:11:32 -0700

Hi Laura,

It should be:

from gnuradio import uhd

source = uhd.usrp_source(...)
...

I would suggest to try building out a basic flowgraph in GRC and then use the generate button and checkout the source made from it.


Regards,
Nate Temple


On Fri, Oct 11, 2019 at 1:06 PM Laura Arjona <address@hidden> wrote:
Hello,

I am using a usrp b200-mini, and I am trying to define the sink as follows:
tx = usrp_sink_c(fusb_block_size = 1024, fusb_nblocks=8)

However, I get the error
 from gnuradio import usrp
ImportError: cannot import name usrp

I believe my GNU-radio installation is correct.
Any clue of how to fix this?

Thank you.

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

reply via email to

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