python2 import trouble (linux - redhat)

Martin v. Loewis martin at v.loewis.de
Sun Jul 14 17:07:50 EDT 2002


Mike Mellor <mmellor1 at yahoo.com> writes:

> I am having trouble importing modules with python2 (Python 2.2) that
> I think should be there, for example, _gtk and GTK.  What do I need
> to do to get python (actually python2) to import these modules?

You need to recompile all packages, preferably updating the spec files
in the source RPMs to give different package names and install
locations.

If that is too much effort, moving to a different Linux distribution
might be easier.

Regards,
Martin




More information about the Python-list mailing list