thetrystero wrote:
> I set-up my PYTHONPATH as follows:
> 
> [Admins-Computer 18]  > echo $PYTHONPATH
> /sw/bin:/sw/lib/python2.3/site-packages:/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages
> 
> Now it proceeds one line further in the syntax error output:
>   File "/sw/lib/python2.3/site-packages/gtk.py", line 20, in ?
>     from GTK import *
> ImportError: No module named GTK
> 
> So it *looks* like it's using /sw/bin/python2.3 now.
> Are gtk and GTK two different things -- is that probably why I'm getting
> this error?

I looked at that package pygtk-py23. Strangely, it installs some stuff, 
for example GTK.py, into the directory /sw/lib/site-python/.

You could try to add /sw/lib/site-python to your PYTHONPATH.

-- 
Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to