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/[email protected]/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
–
View this message in context:
http://old.nabble.com/usrp2-import-error-tp28372305p28372305.html
Sent from the GnuRadio mailing list archive at Nabble.com.
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
Thanks, Josh:) I did a quick search in my package manager for
“gnuradio” and
I was missing quite a few. I believe the culprit was
“python-gnuradio-usrp2”.
Thanks again,
Rob
Josh B.-2 wrote:
running and am having some issues. I’m running Ubuntu 9.04 (Jaunty) and
usrp2" does not. It results in the usual "ImportError: cannot import
[email protected]
Discuss-gnuradio Info Page
–
View this message in context:
http://old.nabble.com/usrp2-import-error-tp28372305p28375656.html
Sent from the GnuRadio mailing list archive at Nabble.com.
On Tue, Apr 27, 2010 at 04:49, Robert M. [email protected]
wrote:
Thanks, Josh:) I did a quick search in my package manager for “gnuradio” and
I was missing quite a few. I believe the culprit was
“python-gnuradio-usrp2”.
If you install ‘gnuradio-companion’, this will ultimately pull in all
the GNU Radio packages except the C++ development headers.
Johnathan
What’s a bit funny is that I initially followed the directions at
http://gnuradio.org/redmine/wiki/gnuradio/DebianPackages, which
includes:
$ sudo aptitude install gnuradio gnuradio-companion
Perhaps I didn’t see an error message but I’m sure I ran that command:)
v/r
Rob
Johnathan C.-2 wrote:
the GNU Radio packages except the C++ development headers.
Johnathan
Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page
–
View this message in context:
http://old.nabble.com/usrp2-import-error-tp28372305p28383696.html
Sent from the GnuRadio mailing list archive at Nabble.com.