[gentoo-user] python-2.6.2 site-packages path problem

2009-04-21 Thread Helmut Jarausch
Hi,

with Python 2.6.2 I have (even re-)installed dev-python/pygtk.
And indeed, there is a directory
/usr/lib/python2.6/site-packages/gtk-2.0

But, still,
import gtk
fails. Looking closer,
there is NO pygtk.pth-2.0 pygtk.py-2.0 file
in /usr/lib/python2.6/site-packages
as it is on a working python-2.6.1 installation.

What might cause that problem?

Many thanks for a hint,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] python-2.6.2 site-packages path problem

2009-04-21 Thread Masood Ahmed
Helmut Jarausch jarau...@igpm.rwth-aachen.de writes:

 Hi,

 with Python 2.6.2 I have (even re-)installed dev-python/pygtk.
 And indeed, there is a directory
 /usr/lib/python2.6/site-packages/gtk-2.0

 But, still,
 import gtk
 fails. Looking closer,
 there is NO pygtk.pth-2.0 pygtk.py-2.0 file
 in /usr/lib/python2.6/site-packages
 as it is on a working python-2.6.1 installation.

 What might cause that problem?

I also came across the same problem some days back.

python-updater -o 2.5 -v

This command did the re-installation's of some python related
packages.

Hope this help's
Masood Ahmed

-- 
Trouble with man n00b is, the n00b won't google for man, let alone man
n00b.
From: Two Ravens



Re: [gentoo-user] python-2.6.2 site-packages path problem

2009-04-21 Thread Philipp Riegger

On Tue, 2009-04-21 at 12:34 +0200, Helmut Jarausch wrote:
 with Python 2.6.2 I have (even re-)installed dev-python/pygtk.
 And indeed, there is a directory
 /usr/lib/python2.6/site-packages/gtk-2.0
 
 But, still,
 import gtk
 fails. Looking closer,
 there is NO pygtk.pth-2.0 pygtk.py-2.0 file
 in /usr/lib/python2.6/site-packages
 as it is on a working python-2.6.1 installation.
 
 What might cause that problem?

There is a bug about this, search bugs.gentoo.org for your error/the
problem where you get the error. You have to reemerge some packages,
pygobject and maybe more.

Philipp




Re: [gentoo-user] python-2.6.2 site-packages path problem

2009-04-21 Thread Helmut Jarausch
On 21 Apr, Philipp Riegger wrote:
 
 On Tue, 2009-04-21 at 12:34 +0200, Helmut Jarausch wrote:
 with Python 2.6.2 I have (even re-)installed dev-python/pygtk.
 And indeed, there is a directory
 /usr/lib/python2.6/site-packages/gtk-2.0
 
 But, still,
 import gtk
 fails. Looking closer,
 there is NO pygtk.pth-2.0 pygtk.py-2.0 file
 in /usr/lib/python2.6/site-packages
 as it is on a working python-2.6.1 installation.
 
 What might cause that problem?
 
 There is a bug about this, search bugs.gentoo.org for your error/the
 problem where you get the error. You have to reemerge some packages,
 pygobject and maybe more.
 
Sorry, but I couldn't find something on bugs.gentoo.org
I searched for python-2.6 and pygtk but couldn't find anything.
Many thanks for a pointer,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] python-2.6.2 site-packages path problem

2009-04-21 Thread Philipp Riegger

On Tue, 2009-04-21 at 15:56 +0200, Helmut Jarausch wrote:

  There is a bug about this, search bugs.gentoo.org for your error/the
  problem where you get the error. You have to reemerge some packages,
  pygobject and maybe more.
  
 Sorry, but I couldn't find something on bugs.gentoo.org
 I searched for python-2.6 and pygtk but couldn't find anything.

https://bugs.gentoo.org/show_bug.cgi?id=232338

Philipp