discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] ImportError: No module named gnuradio


From: Mateusz Jasiński
Subject: Re: [Discuss-gnuradio] ImportError: No module named gnuradio
Date: Mon, 4 Apr 2011 15:48:26 +0200
User-agent: KMail/1.13.6 (Linux/2.6.38.1-dirty; KDE/4.6.1; i686; ; )

On Monday 04 of April 2011 09:55:25 Martin Braun wrote:
> 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/pl
> > at- 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

Hi Martin,

I've installed by the packages that I've built. The standard configure --
prefix=/usr There is a slight probability that some files are missing after the 
installation. Could you please refer to my installed_files.log attached to this 
message and try to check if all required by gnuradio-companion modules are 
installed properly? Oh, and running gnuradio-companion as root fails as for 
normal user.
-- 
Mateusz Jasiński

Attachment: installed_files.log
Description: Text Data


reply via email to

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