Hi Anamay Kane, that seems to be an installation issue.
Generally. GNU Radio 3.6.4.2 is outdated. If you need the 3.6 API, use the latest version from the 3.6 branch, which is 3.6.5.1. But that is not very likely to see updates/bugfixes in the future. If you can, try to use GNU Radio 3.7. If you don't have to work with very complex existing GNU Radio modules that need GNU Radio 3.6, now would be a good time to switch to 3.7. The problem you're seeing is unrelated to the TCP sink/source. It's just that python says the gnuradio module doesn't have a "digital" submodule. Did you build this flow graph yourself or did you get if from somewhere else? Best regards, Marcus PS: By the way: though Ubuntu 12.04LTS is still supported by GNU Radio, it's really old -- maybe you'd want to switch to at least GNU Radio 14.04LTS by now. On 07/03/2015 07:44 AM, Anamay K. wrote: > Hi > > I am using GNU Radio 3.6.4.2 on Ubuntu 12.04. I am unable to use the TCP > Source and Sink blocks which I want to connect to hardware. Whenever I > use them, I get the following error: > > File "/home/vlab/Documents/top_block.py", line 13, in <module> > from grc_gnuradio import blks2 as grc_blks2 > File > "/usr/local/lib/python2.7/dist-packages/grc_gnuradio/blks2/__init__.py", > line 22, in <module> > from packet import options, packet_encoder, packet_decoder, \ > File > "/usr/local/lib/python2.7/dist-packages/grc_gnuradio/blks2/packet.py", > line 21, in <module> > from gnuradio import gr, digital > ImportError: cannot import name digital > > > Could you please help me out? > > Thanks > > Anamay Kane > _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
