Forum: GNU Radio ImportError: cannot import name channels

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
2bacedb1427acd17821b5826a179938d?d=identicon&s=25 Sandipan B. (basus01)
on 2014-06-25 20:25

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 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 "", line 127, in <module>
   tb= top_block()
 File "" , line 69, in_init_
AttributeError: 'module' object has no attribute 'fading model'

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

This topic is locked and can not be replied to.