discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] usrp2 import error


From: Josh Blum
Subject: Re: [Discuss-gnuradio] usrp2 import error
Date: Mon, 26 Apr 2010 20:45:29 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9pre) Gecko/20100217 Shredder/3.0.3pre

The gnuradio deb packages are split into many sub-components, you are probably missing the gnuradio-python. I search your package manager for gnuradio and see which packages are unchecked. -Josh

On 04/26/2010 07:27 PM, Robert Miller wrote:

Hi -

Sorry for such a newbie question, but I am trying to get my USRP2 up and
running and am having some issues.  I'm running Ubuntu 9.04 (Jaunty) and
have installed the stable release of gnuradio 3.2 using the binary package
instructions at:

http://gnuradio.org/redmine/wiki/gnuradio/DebianPackages

When I open up a python shell, I can successfully import gr and usrp,
however I get an import error if I try to import usrp2.  In other words,
"from gnuradio import usrp" works just fine, however "from gnuradio import
usrp2" does not.  It results in the usual "ImportError:  cannot import name
usrp2".  I've read the post here:

http://www.mail-archive.com/address@hidden/msg23926.html

but it was not very helpful because I have nothing listed in my
/usr/local/lib/python2.6/dist-packages/ or
/usr/local/lib/python2.6/site-packages/ directories, and /usr/lib/python2.6/
contains neither dist-packages or site-packages.

Also, just in case it may matter, I am running the 2.6.28 kernel, with a
64-bit install on a sony vaio.

Thanks,
Rob





reply via email to

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