|
From: | George Nychis |
Subject: | Re: [Discuss-gnuradio] Re: importing usrp2 module failing |
Date: | Wed, 21 Apr 2010 16:36:18 -0400 |
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 thatactually... I am getting the same error now without using sudo, so that
rings a bell to someone? Something probably about an environment variable I
am missing.
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
[Prev in Thread] | Current Thread | [Next in Thread] |