Forum: GNU Radio ImportError: cannot import name packbits

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.
F75f393a86b5a518b1f7a8d3ca97cf67?d=identicon&s=25 Jay Kumar (songsfreak)
on 2009-03-13 07:39
Hello ,
 I have completely installed Gnuradio-3.1.3 on RHEL4.Even I have
uploaded the firmware on the usrp.But when i was trying to run i got the attribute key error.After searhing through all
forum i gor to know that Python 2.3 could not update the numpy's
directories.So i downgraded Numpy to 1.0.4 and now i m getting the
following errors:-

File "./", line 23, in ?
    from gnuradio import gr, gru
  File "/usr/lib/python2.3/site-packages/gnuradio/gru/", line
37, in ?
    exec "from gnuradio.gruimpl.%s import *" % (f,)
  File "<string>", line 1, in ?
line 28, in ?
    import numpy
  File "/usr/lib/python2.3/site-packages/numpy/", line 93, in
    import add_newdocs
  File "/usr/lib/python2.3/site-packages/numpy/", line 9,
in ?
    from lib import add_newdoc
  File "/usr/lib/python2.3/site-packages/numpy/lib/", line
18, in ?
    from io import *
  File "/usr/lib/python2.3/site-packages/numpy/lib/", line 16, in ?
    from _compiled_base import packbits, unpackbits
ImportError: cannot import name packbits

I am badly stucked.Plz help me out.

745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2009-03-13 15:06
(Received via mailing list)
On Fri, Mar 13, 2009 at 07:39:07AM +0100, Jay Kumar wrote:
>   File "/usr/lib/python2.3/site-packages/gnuradio/gru/", line
>   File "/usr/lib/python2.3/site-packages/numpy/", line 9,
> Thanks

It appears that something is wrong with your numpy installation.

Try this:

  $ python
  >>> import numpy

If you see the error when doing this, there is something wrong with
your numpy installation.

This topic is locked and can not be replied to.