> That is not supported, mixing installations like that... > If you use MacPorts PyGTK, you need to use /opt/local/bin/python2.6 > rather than /usr/bin/python.
Are you sure? I've successfully imported the module: $ python >>> import pygtk >>> dir(pygtk) ['__all__', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '_get_available_versions', '_our_dir', '_pygtk_2_0_dir', '_pygtk_dir_pat', '_pygtk_required_version', 'fnmatch', 'glob', 'os', 'require', 'require20', 'sys'] > And you'd normally use "site-packages"? I use the default one. http://docs.python.org/using/mac.html: "The Apple-provided build of Python is installed in /System/Library/Frameworks/Python.framework and /usr/bin/python, respectively." Is there a way to use PyGTK while running "python" (/usr/bin/python)? _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
