public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: foser <foser@sesmar.eu.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] gnome-python/pygtk and "import gnome"
Date: Thu, 13 Jun 2002 13:27:14 +0200	[thread overview]
Message-ID: <3D088192.7070808@sesmar.eu.org> (raw)
In-Reply-To: 1023931844.6193.3.camel@usagi

Derek Greentree wrote:
> Hi all,
>   Basically, I'm trying to run and hack a python script that says things
> like 
> "from gnome import *"
>   Now, there are 2 packages in portage, gnome-python and pygtk. They
> seem to provide the same stuff in terms of the files they install:
> what's the difference between these 2 packages. However, the big problem
> is that even with either (or both) installed the said python script
> doesn't work; I get this error:
> 
> from gnome import *   
> ImportError: No module named gnome
> 
> So,
>   1. Are these two packages, gnome-python and pygtk, really different?
>   2. What can I emerge (or what do I need to make an ebuild for) so that
> a python script can do an "import gnome"?
> 

Hi,

i ran into this odd couple as well. It seems gnome-python provides 
everything pygtk provides (altough i didn't have a good look), but since 
there might be apps that use only pygtk stuff and don't need all the 
dependencies that come with gnome-python (all sorts of gnome stuff) it 
is logical to provide them both (altough portage wasn't mean for this 
sort of situations afaik).

Now, the only problems i ran into was with the Gnome2 pygtk ebuild 
(1.99), with the old one (0.6.8) everything should be fine. The 1.99 
version overwrites part of the old gnome-python package resulting in 
some weird problems. You might try uninstalling it all and then just 
installing gnome-python and maybe (if needed after all) the gnome1 pygtk 
build (0.6.8).

- fos



      parent reply	other threads:[~2002-06-13 11:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-13  1:30 [gentoo-dev] gnome-python/pygtk and "import gnome" Derek Greentree
2002-06-13 10:13 ` Craig M. Reece
2002-06-13 11:27 ` foser [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D088192.7070808@sesmar.eu.org \
    --to=foser@sesmar.eu.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox