discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] ImportError: cannot import name packbits


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] ImportError: cannot import name packbits
Date: Fri, 13 Mar 2009 07:04:52 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Mar 13, 2009 at 07:39:07AM +0100, Jay Kumar wrote:
> 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 "<string>", 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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]