Hi dark,
On Thu, May 22, 2008 at 08:59:29PM +0100, Dark Nebula wrote:
> hallo Axel,
>
> yes i have the file:
> [EMAIL PROTECTED]:~$ ls -l /usr/bin/python2.5
> -rwxr-xr-x 1 root root 1174932 2008-05-15 18:36 /usr/bin/python2.5
> [EMAIL PROTECTED]:~$

Well, I think I know your error: the vodaphone package, which you installed,
came probably together with another python interpreter. This second python is
installed in /usr/local/bin/python. According to your path, "/usr/local/bin"
is searched before "/usr/bin". So, when you start "python",
"/usr/local/bin/python" is executed - instead of "/usr/bin/python". As these
two python interpreters have separated search pathes ("sys.path" in the
python-interpreter), each one finds different modules. And the gtk-stuff is 
installed correctly in a place, which is found by "/usr/bin/python", but not by
"/usr/local/bin/python". So the easiest might be to remove the second 
python-installation, and to copy the appropriate module files to a place where 
the standard-Debian-installation can find them.  The configuration for the 
python-search path is documented in
http://docs.python.org/lib/module-site.html
You can try to modify the appropriate files, to let the second python
interpreter find the other files - I think, a file
/usr/local/lib/python2.5/site-packages/python-support.pth with the contents

/var/lib/python-support/python2.5
gtk-2.0
/var/lib/python-support/python2.5/gtk-2.0


should do it for gtk. But having to python-interpreters will probably result in
the same problem with other modules ...

Axel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to