Re: [Discuss-gnuradio] pybombs gnuradio install and sudo

2019-07-22 Thread Marcus D Leech
Because your PYTHONPATH and other environment variables aren’t inherited by a sudo shell by default. Use the -E option to sudo. Sent from my iPhone > On Jul 22, 2019, at 11:54 AM, Müller, Marcus (CEL) wrote: > > Your sudo call resets the environment, and that includes things like >

Re: [Discuss-gnuradio] pybombs gnuradio install and sudo

2019-07-22 Thread CEL
Your sudo call resets the environment, and that includes things like PYTHONPATH, PATH and LD_LIBRARY_PATH. You need to add the right options to sudo. I'll carefully point out that the code in tuntap_pdu isn't really safe by any means. You generally should probably avoid running GNU Radio as

[Discuss-gnuradio] pybombs gnuradio install and sudo

2019-07-22 Thread sumit kumar
Hi, When I try to run any gnuradio program with sudo (inside pybombs environment), it simply throws the error *ImportError: No module named gnuradio* For example when I try to run tunnel based programs, which need ioctl calls and hence sudo or root. Without sudo it says operation not permitted