Jump to content

Python problems in Mandriva 2007


Guest hari_seldon99
 Share

Recommended Posts

Guest hari_seldon99

Hi,

 

I'm using a relatively fresh install of Mandriva 2007. urpmi dependency issues may have necessitated (somehow) an upgrade to python 2.5 some days back, but since then, none of the python scripts work. They crash with ImportError messages. For instance:

$ democracyplayer
Traceback (most recent call last):
 File "/usr/bin/democracyplayer.real", line 13, in <module>
   import pygtk
ImportError: No module named pygtk
$rpm -qa|grep python|grep pygtk
pygtk2.0-2.10.3-1.SoS.2007.0
pygtk2.0-libglade-2.10.3-1.SoS.2007.0

 

 

similarly with liquid weather on superkaramba

 

Traceback (most recent call last):
 File "/usr/share/apps/superkaramba/themes/liquid_weather_plus/liquid_weather.py", line 13, in ?
   import os
ImportError: No module named os

 

My python rpms are shown below:

 

$ rpm -qa|grep python
gnome-python-applet-2.16.0-1mdv2007.0
python-psyco-1.5.1-1mdk
gnome-python-2.16.2-1.SoS.2007.0
gnome-python-extras-2.14.3-4mdv2007.1
python-django-0.95-1mdv2007.0
python-numeric-24.2-2mdv2007.0
gnome-python-gnomeprint-2.16.0-1mdv2007.0
gnome-python-gnomevfs-2.16.2-1.SoS.2007.0
python-base-2.5-4mdv2007.1
gnome-python-desktop-2.16.0-1mdv2007.0
python-2.5-4mdv2007.1
kdebindings-python-3.3.2-1mdk
python-gtk-0.6.11-13mdv2007.1
python-perlmodule-1.0.1-7mdv2007.0
python-cairo-1.2.2-1mdv2007.0
gnome-python-canvas-2.16.2-1.SoS.2007.0
libpython2.4-2.4.3-4.1mdv2007.0
python-gnome-menus-2.16.1-1.SoS.2007.0
python-cdemu-0.8-2mdv2007.0
gnome-python-gtkmozembed-2.14.3-4mdv2007.1
python-imaging-1.1.4-10mdk
libpython2.5-2.5-4mdv2007.1
dbus-python-0.80.2-1mdv2007.1
libpython2.5-devel-2.5-4mdv2007.1
libxml2-python-2.6.26-2mdv2007.0
gnome-python-gtksourceview-2.16.0-1mdv2007.0
python-pyrex-0.9.4.1-6mde2007.0
python-gobject-2.12.1-1mdv2007.0
python-pyxml-0.8.4-6mdk
python-opengl-2.0.1.09-5mdv2007.0
gnome-python-gconf-2.16.2-1.SoS.2007.0
gnome-python-bonobo-2.16.2-1.SoS.2007.0
python-rpm-4.4.6-10.1mdv2007.0
python-libbtctl-0.8.2-1mdv2007.1

 

I'm a total python illiterate so I would be very grateful for some help in fixing this problem. Do I need to install these "modules" separately? Can I rollback to an older version of python without creating numerous dependency conflicts? I looked for python-2.4 rpms in the urpmi repos but didn't find any.

 

Thanks for your attention

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...