public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] python-2.6.2 site-packages path problem
@ 2009-04-21 10:34 Helmut Jarausch
  2009-04-21 11:58 ` Philipp Riegger
  2009-04-21 12:27 ` Masood Ahmed
  0 siblings, 2 replies; 5+ messages in thread
From: Helmut Jarausch @ 2009-04-21 10:34 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] python-2.6.2 site-packages path problem
  2009-04-21 10:34 [gentoo-user] python-2.6.2 site-packages path problem Helmut Jarausch
@ 2009-04-21 11:58 ` Philipp Riegger
  2009-04-21 13:56   ` Helmut Jarausch
  2009-04-21 12:27 ` Masood Ahmed
  1 sibling, 1 reply; 5+ messages in thread
From: Philipp Riegger @ 2009-04-21 11:58 UTC (permalink / raw
  To: gentoo-user


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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] python-2.6.2 site-packages path problem
  2009-04-21 10:34 [gentoo-user] python-2.6.2 site-packages path problem Helmut Jarausch
  2009-04-21 11:58 ` Philipp Riegger
@ 2009-04-21 12:27 ` Masood Ahmed
  1 sibling, 0 replies; 5+ messages in thread
From: Masood Ahmed @ 2009-04-21 12:27 UTC (permalink / raw
  To: gentoo-user

Helmut Jarausch <jarausch@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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] python-2.6.2 site-packages path problem
  2009-04-21 11:58 ` Philipp Riegger
@ 2009-04-21 13:56   ` Helmut Jarausch
  2009-04-21 14:33     ` Philipp Riegger
  0 siblings, 1 reply; 5+ messages in thread
From: Helmut Jarausch @ 2009-04-21 13:56 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] python-2.6.2 site-packages path problem
  2009-04-21 13:56   ` Helmut Jarausch
@ 2009-04-21 14:33     ` Philipp Riegger
  0 siblings, 0 replies; 5+ messages in thread
From: Philipp Riegger @ 2009-04-21 14:33 UTC (permalink / raw
  To: gentoo-user


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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-21 14:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-21 10:34 [gentoo-user] python-2.6.2 site-packages path problem Helmut Jarausch
2009-04-21 11:58 ` Philipp Riegger
2009-04-21 13:56   ` Helmut Jarausch
2009-04-21 14:33     ` Philipp Riegger
2009-04-21 12:27 ` Masood Ahmed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox