ImportError: cannot import name packbits

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
usrp_fft.py 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 “./usrp_fft.py”, line 23, in ?
from gnuradio import gr, gru
File “/usr/lib/python2.3/site-packages/gnuradio/gru/init.py”, line
37, in ?
exec “from gnuradio.gruimpl.%s import *” % (f,)
File “”, line 1, in ?
File
“/usr/lib/python2.3/site-packages/gnuradio/gruimpl/gnuplot_freqz.py”,
line 28, in ?
import numpy
File “/usr/lib/python2.3/site-packages/numpy/init.py”, line 93, in
?
import add_newdocs
File “/usr/lib/python2.3/site-packages/numpy/add_newdocs.py”, line 9,
in ?
from lib import add_newdoc
File “/usr/lib/python2.3/site-packages/numpy/lib/init.py”, line
18, in ?
from io import *
File “/usr/lib/python2.3/site-packages/numpy/lib/io.py”, line 16, in ?
from _compiled_base import packbits, unpackbits
ImportError: cannot import name packbits

I am badly stucked.Plz help me out.

Thanks

On Fri, Mar 13, 2009 at 07:39:07AM +0100, Jay K. wrote:

File “/usr/lib/python2.3/site-packages/gnuradio/gru/init.py”, line
File “/usr/lib/python2.3/site-packages/numpy/add_newdocs.py”, 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.

Eric