[SLE] Python/pygtk update and cleanup




Hello again, everybody. I'm afraid I have another problem I need some advice on. It's not exactly SuSE-specific, but since it *is* on my SuSE 9.1Pro system...


I've spent somewhere between 20 and 30 man-hours, over the past couple months, Googling and trying to pick apart this problem piecemeal, but I just haven't gotten anywhere. I guess it's time to give up and ask for help.

Here's the problem: I have several rpm-installed apps (meld, for example) that, despite being installed successfully, will not run. I generally get something like this:
No module named pygtk
Meld requires a recent version of pygtk.
pygtk-1.99.15 or higher is recommended.


Now, so far I've uninstalled gtk and python using YAST, upgraded to the newest versions of both, run apt-upgrade, and spent a *whole* lot of time on Google. It appears that my problem may lie in /usr/bin/env, which apparently points different apps to which version of python they're going to use, but I've come up completely empty looking for information on how to fix it. It's probably one of those "everybody knows it" things that I don't know the right terminology to craft a proper search term for, just like so many other Linux questions...
I also eventually discovered that changing the parameter in the #! line in /usr/bin/meld (for example) to point at the newest python version *should* have worked, but I ended up with the same error messages as above. At this point, my best guess is that I've managed to completely hose something in the course of my stumbling around, but I don't know what.
I think my best option at this point is to completely wipe out my old python and gtk installs and just install the latest versions, but as I said I've already tried this using YAST and apt (more than once), and it's had no effect. I'm obviously missing something, but I don't know what, and I haven't been able to find anything that would point me in the right direction (darned frustrating, that). So if anyone has a suggestion (preferably less drastic than "wipe hda and re-install SuSE), I'd be very grateful.





-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@xxxxxxxx Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Re: gmpy moving to code.google.com
    ... this time with python 2.4 on suse and things are ... patching" that class on the fly; clearly the monkey-patching isn't working with 2.4 on SuSE, so all the addition attempts are failing. ... However, from the test failures you report, it looks like SuSE's 2.4 does not have decimal available for importing when gmpy is starting up -- so I'd like to confirm that first. ...
    (comp.lang.python)
  • Re: gmpy moving to code.google.com
    ... this time with python 2.4 on suse and things are ... available for importing when gmpy is starting up -- so I'd like to ...
    (comp.lang.python)
  • Getting wwwoffle to work with SuSE 8.1?
    ... I've recently installed SuSE 8.1. ... partition - it took a couple of disgruntled failed installs to guess ... I've got most things I need up and running happily, apart from wwwoffle. ... YaST2 -> Network/Advanced -> Hostname and DNS I supplied the DNS servers ...
    (alt.os.linux.suse)
  • [SLE] RE : [SLE] Network install of SuSE 9
    ... How could I prepare my SuSE server so when I'll be ready to mount a new SuSE box, it could install through the lan and fetch the software on my main SuSE server? ... > installs of RH, ... > can do automated network installs? ...
    (SuSE)
  • Re: Graphics routines (GDCHART, etc.) with OpenVMS PERL, CSWS mod_perl
    ... > graphs for Apache (CSWS) pages and was pointed to Python for VMS. ... the installs went smoothly and I am able to ... > The documentation mentioned PNG and ZLIB as prerequisites. ...
    (comp.os.vms)