discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Re: importing usrp2 module failing


From: George Nychis
Subject: Re: [Discuss-gnuradio] Re: importing usrp2 module failing
Date: Wed, 21 Apr 2010 16:36:18 -0400

thanks Josh!  I seem to have had a conflicting install in /usr/lib/ rather than /usr/local/lib, so i blasted it and updated PYTHONPATH and all is great again ;)

- George

On Wed, Apr 21, 2010 at 4:14 PM, Josh Blum <address@hidden> wrote:
its probably an issue of PYTHONPATH, make sure that the import works on command line: python -c "from gnuradio import usrp2"

You should not need to run as root as long as the socket opener app has suid permissions

sudo chown root:usrp `which usrp2_socket_opener`
sudo chmod 04750 `which usrp2_socket_opener`

-Josh


On 04/21/2010 12:57 PM, George Nychis wrote:
**NOTE** I do not get the import error when I do not run the command with
sudo, but then I do not get the proper raw socket permissions.  Maybe that
rings a bell to someone?  Something probably about an environment variable I
am missing.


actually... I am getting the same error now without using sudo, so that
doesn't seem to be a difference

- George




_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

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