public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] gnome-python/pygtk and "import gnome"
@ 2002-06-13  1:30 Derek Greentree
  2002-06-13 10:13 ` Craig M. Reece
  2002-06-13 11:27 ` foser
  0 siblings, 2 replies; 3+ messages in thread
From: Derek Greentree @ 2002-06-13  1:30 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]

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"?

Thanks,
Derek Greentree



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-dev] gnome-python/pygtk and "import gnome"
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Craig M. Reece @ 2002-06-13 10:13 UTC (permalink / raw
  To: gentoo-dev

On Wed, Jun 12, 2002 at 07:30:39PM -0600,
	"Derek Greentree" <derekgr@mac.com> spoke thusly:

> 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"?
> 

And while you're at it. What do you need in order to get either of these
to install? I haven't gotten either one to compile yet.

-- 
  .~.     Linux       |  Windows is so fragile that:
  /V\     Registered  |    "...removing even one component will cause
 // \\    User        |     it to become nonfunctional..."
/(   )\   258849      |       -- Bill Gates Testimony
 ^`~'^



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

* Re: [gentoo-dev] gnome-python/pygtk and "import gnome"
  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
  1 sibling, 0 replies; 3+ messages in thread
From: foser @ 2002-06-13 11:27 UTC (permalink / raw
  To: gentoo-dev

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



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

end of thread, other threads:[~2002-06-13 11:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox