Trouble with importing

Jerry Hill malaclypse2 at gmail.com
Tue Oct 26 22:30:40 EDT 2010


On Tue, Oct 26, 2010 at 5:24 PM, Ben <bahrens at gmail.com> wrote:
> ben at sdrfid:~/gen2_rfid/trunk/src/app$ python -c "from gnuradio import
> rfid"
>
> works fine (at least, it doesn't say anything, which I take to be a
> good sign), but
>
> ben at sdrfid:~/gen2_rfid/trunk/src/app$ sudo python -c "from gnuradio
> import rfid"
> Traceback (most recent call last):
>  File "<string>", line 1, in <module>
> ImportError: cannot import name rfid

What are the permissions on the gnuradio package and the rfid module?
Do you see anything interesting if you run python with -v or -vv?
Like this:
sudo python -v -c "from gnuradio import rfid

-- 
Jerry



More information about the Python-list mailing list