I tried, what you said,but it doesn't work, here are some things, which puzzle me:
I realized, that import pygtk only works, when I start python from within the directory, where I installed pygtk from. When I change to an arbitrary directory, python cannot import pygtk anymore. That shouldn't be right,should it?
Just to be on the safe side, is it right, that I set the prefix when configuring pygtk to prefix=/usr/bin/, because
> which python
/usr/bin/python
and it is said in the README, that you should set the prefix to the path, where python is installed.
Finally, when make install, I get with the output several times lines like
Libraries have been installed in:
/usr/bin/lib/python2.3/site-packages/gtk-2.0
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
during executionDo I have to do something? I am really confused by this installation. It is very difficult for a beginner.
Thanks
Reik
ps: I didn't mention it again, but I want to install matplotlib and it can still not find pygtk.
Hello,
did you install matplotlib before you installed pygtk? If this is the case you might want to try recompiling and installing matplotlib. If you decide to do so, make sure that you remove the matplotlib installation before rebuilding it /(remove /usr/site/python2.3/site-packages/matplotlib).
Niklas.
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
