straw-devel
[Top][All Lists]
Advanced

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

Re: [Straw-devel] Straw 0.21.2 fails on startup


From: J. Gardner Biggs
Subject: Re: [Straw-devel] Straw 0.21.2 fails on startup
Date: Wed, 26 Nov 2003 15:43:59 -0600

On Wed, 2003-11-26 at 15:18, Scott Douglas-Watson wrote:
> Try adding /usr/local/lib/python2.2/site-packages/gtk-2.0 to your 
> PYTHONPATH enviroment variable (using a colon as a separator). eg. based 
> on your previous posting of your PYTHONPATH:
> 
> PYTHONPATH=/usr/local/lib/python2.2/site-packages:/usr/local/lib/python2.2/site-packages/gtk-2.0
> 
> The python man pages will provide some more details on the python 
> environment variables.


That did the trick!

Are there any more paths I need to add?

Python-2.2 is installed to /usr (by RedHat 9.0)

and all the newer stuff, pygtk, pyorbit, gnome-python, I have
complied/installed locally to /usr/local.

Thanks for all the help.


> Cheers,
> Scott
> 
> PS. Hope you don't mind me CCing the list (keeps a record for other 
> users that might have a similar problem)
> 
> J. Gardner Biggs wrote:
> > On Wed, 2003-11-26 at 12:47, Scott Douglas-Watson wrote:
> > 
> >>Okay
> >>
> >>$ locate gconf.so
> >>/usr/lib/python2.2/site-packages/gtk-2.0/gconf.so
> >>
> >>Is the directory containing gconf.so in your python path?
> >>
> >>Cheers,
> >>Scott
> >>
> > 
> > address@hidden jgbiggs]$ locate gconf.so
> > /usr/lib/bonobo/monikers/libmoniker_gconf.so.0
> > /usr/lib/bonobo/monikers/libmoniker_gconf.so
> > /usr/lib/bonobo/monikers/libmoniker_gconf.so.0.0.0
> > 
> > /usr/local/lib/python2.2/site-packages/gtk-2.0/gconf.so
> > 
> > /home/jgbiggs/Source Code/gnome-python-2.0.0/gconf/.libs/gconf.so
> > 
> > 
> >>>>import sys
> >>>>print sys.path
> > 
> > ['', '/usr/local/lib/python2.2/site-packages', '/usr/lib/python2.2',
> > '/usr/lib/python2.2/plat-linux2', '/usr/lib/python2.2/lib-dynload',
> > '/usr/lib/python2.2/site-packages',
> > '/usr/lib/python2.2/site-packages/gtk-2.0']
> > 
> > so it seems that gconf.so is not in the pythonpath.
> > 
> > so what next?
> > 
> > I am guessing that this might be a common problem for those who have
> > compiled and installed many of the python modules to /usr/local when
> > their distro has installed python to /usr.
> > 
> > 
> > 
> > 
> 
> 





reply via email to

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