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: Jan Alonzo
Subject: Re: [Straw-devel] Straw 0.21.2 fails on startup
Date: Wed, 26 Nov 2003 14:19:23 +1100

On Wed, 2003-11-26 at 14:03, Jonathon Jongsma wrote:
> I've had this same problem as well.  After doing a little investigating, 
> i discovered that gconf (along with a few other modules) were installed 
> in /usr/local/lib/python-2.2/site-packages/ and for some reason Python 
> couldn't find them there.  Being a complete python novice, I didn't know 
> exactly how to tell python where to find them.  Here's the output of my 
> sys.path:
> 
> ['', '/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']
> 
> As a quick fix, i simply make some symlinks from the modules in 
> /usr/local/lib/ to the corresponding locations is /usr/lib/ until i 
> didn't get errors anymore.  Is there an easy way to permanently change 
> the places python looks for modules so that it always looks in 
> /usr/local/lib/ ?  Is this even desireable?  Should i just physically 
> copy the files from /usr/local/lib/ to /usr/lib/?
> 
> Note that I'm using 0.21.1 on Fedora Core 1.  I just noticed now that 
> Straw 0.21.2 came out.  Will this fix my issue? 

Thanks a lot for the info. Please add
/usr/local/lib/python2.x/site-packages in $PYTHONPATH in your .bashrc or
something and don't forget to export it.

Let me know if it works already.
-- 
Jan Alonzo <address@hidden>





reply via email to

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