Forum: GNU Radio ImportError: cannot import name channels

00edb355e007054c7255473614688249?d=identicon&s=25 Sandipan Basu (basus01)
on 2014-06-25 20:25
Hi,

I am getting the following error

ImportError: cannot import name channels... when I run a python script.

I added the following line to a code

from gnuradio import channels

First I made  a simulation model using gnuradio-companion and started
making changes to the top_block.py code..
Basically I want to add a fading channel model to my simulation and cant
find a fading channel model block which has a doppler shift variable in
gnuradio-companion. So I am trying to add it by editing the code.
How can I fix this error.

If I comment out the line "from gnuradio import channel" I get the
following errors

Error: failed to enable realtime scheduling
USing Volk machine: sse3_64_orc
Traceback(most recent call last):
 File "top_block.py~", line 127, in <module>
   tb= top_block()
 File "top_block.py~" , line 69, in_init_
  self.gr_fading_model=gr.fading_model(
AttributeError: 'module' object has no attribute 'fading model'

I am using Vsphere client to log onto a server  and use virtual ubuntu.

Thanks.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.