Re: Python upgrade
- From: "Daniel E. Macks" <dmacks netspace org>
- To: meld-list gnome org
- Subject: Re: Python upgrade
- Date: Thu, 30 Jul 2009 16:34:21 +0000 (UTC)
stormcloud <email forward me googlemail com> said:
> --===============2077106771==
> Content-Type: multipart/alternative; boundary=001485f724f0a771ae046fd35ef9
>
> --001485f724f0a771ae046fd35ef9
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
>
> Hi,
>
> Recently I upgraded the version of Python on my machine, and since then Meld
> has refused to run. - I keep getting the following error:
>
> File "/usr/share/meld/meld", line 78, in <module>
> import gtk
> ImportError: No module Named gtk
>
> I'd like to be able to point meld back to the older version of python (which
> is still on my machine).
>
> Could somebody give me some pointers.
Upgrade your python gtk modules to use the new python? By default, I
think python modules go in a subdir specific for the python version
(python2.5 vs python2.6), so a python only finds the ones designed for
*it* not for others.
Check the first line of the meld script: it probably specifies which
python interp to use, and you can edit it to point to any specific one
you like. Alternately, you can use the PYTHON= env variable (again
specifying a pathname to a specific python interp) variable during
make and make-install to set that first line of the script.
dan
--
Daniel Macks
dmacks netspace org
http://www.netspace.org/~dmacks
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]