Cannot import name packet_utils

I installed gnuradio on a new computer (Ubuntu 11.10) last night using
the
build_gnuradio script. I ran a python script that is working on on
another
11.10 computer and got the following error:

from grc_gnuradio import blks2 as grc_blks2
File
“/usr/local/lib/python2.7/dist-packages/grc_gnuradio/blks2/init.py”,
line 22, in
from packet import options, packet_encoder, packet_decoder,
File
“/usr/local/lib/python2.7/dist-packages/grc_gnuradio/blks2/packet.py”,
line 21, in
from gnuradio import gr, packet_utils
ImportError: cannot import name packet_utils

Any ideas what I’m doing wrong?

Thanks,

                 Dave

On Tue, Oct 25, 2011 at 1:39 PM, David L [email protected] wrote:

“/usr/local/lib/python2.7/dist-packages/grc_gnuradio/blks2/packet.py”,
line 21, in
from gnuradio import gr, packet_utils
ImportError: cannot import name packet_utils

Any ideas what I’m doing wrong?

Thanks,

                Dave

You’re running a new version of GNU Radio with lots of changes:
http://gnuradio.org/redmine/projects/gnuradio/wiki/ChangeSets

All digital modulation blocks are now under the digital namespace. You
can
get the packet_utils block from that module, now.

Tom

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs