[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] ImportError: No module named gnuradio
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] ImportError: No module named gnuradio |
Date: |
Mon, 4 Apr 2011 09:55:25 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sat, Apr 02, 2011 at 09:19:00PM +0200, Mateusz Jasiński wrote:
> Hi,
>
> I'm trying to build debian packages of gnuradio git snapshot (01.04.2011).
> The
> build process is successful but I've encountered python related problem after
> installing the packages - gnuradio python module is missing, so none of the
> examples nor gnuradio-companion doesn't work. The error is:
>
> ImportError: No module named gnuradio
>
> I've checked the PYTHONPATH variable, and set it to:
>
> address@hidden ~]$ echo $PYTHONPATH
> /usr/lib/python2.6/dist-packages:/usr/lib/python2.6:/usr/lib/python2.6/plat-
> linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-
> old:/usr/lib/python2.6/lib-dynload:/usr/local/lib/python2.6/dist-
> packages:/usr/lib/pymodules/python2.6/gtk-2.0:/usr/lib/python2.6/dist-
> packages/gtk-2.0:/usr/lib/pymodules/python2.6
>
> Main gnuradio related file locations are listed in the attached
> installed_files.log
Hi Mateusz,
how did you install? If you locally compiled a git snapshot, the stuff
*should* end up in /usr/local/lib/python2.6/dist-packages.
Other things you should check: is
/usr/lib/python2.6/dist-packages/gnuradio world-readable? I've lost a lot
of nerves to the fact that one machine I was testing stuff on had a
screwed-up 'umask' setting and I had ended up installing everything
readable only for root.
MB
--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)
Dipl.-Ing. Martin Braun
Research Associate
Kaiserstraße 12
Building 05.01
76131 Karlsruhe
Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu
KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association
pgpWAfEa0YRZY.pgp
Description: PGP signature