Rich Shepard <[EMAIL PROTECTED]> writes: > > On Thu, 10 Aug 2006, Arjan Molenaar wrote: > > > It may be possible that pygtk is not installed in a standard place (e.g. > > /usr/local/lib/python2.4/site-packages). > > Hello, Arjan: > > No, that's just where it is: > > [rshepard <at> salmo /usr/local/lib/python2.4/site-packages]$ ls > gtk-2.0/ pygtk.pth pygtk.py pygtk.pyc pygtk.pyo > > > Did you check the python executable refers to Python 2.4 and not Python 2.3? > > Yes. > > > BTW. You can also do a "python setup.py run" in order to run directly from > > the gaphor-0.8.1 directory. > > This gives the same error as before. > > The problem, I just determined, is that python cannot find pygtk to > import, despite the module being where it should be. I need to research why. > > Thanks, > > Rich >
I had trouble as well... I was installing gaphor 0.8.1 on Fedora Core 5 and I had diacanvas installed from source. Being that I installed from source, it was installed in /usr/local/lib/python2.4/site-packages/ as opposed to /usr/lib/python2.4/site-packages I just did the following to get it to work: ln -s /usr/local/lib/python2.4/site-packages/diacanvas /usr/lib/python2.4/site-packages/diacanvas I'm sure there is some other way to setup python to look in /usr/local/lib as well as /usr/lib but I don't know anything about it. Cheers. - Micah ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Gaphor-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gaphor-list
