From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from sesmar.eu.org (warande3054.warande.uu.nl [131.211.123.54]) by chiba.3jane.net (Postfix) with ESMTP id A79C7ABD50 for ; Thu, 13 Jun 2002 06:27:19 -0500 (CDT) Received: from sesmar.eu.org (rivendell.sesmar.eu.org [192.168.0.2]) by sesmar.eu.org (Postfix) with ESMTP id F1DE8357F4 for ; Thu, 13 Jun 2002 13:27:15 +0200 (CEST) Message-ID: <3D088192.7070808@sesmar.eu.org> Date: Thu, 13 Jun 2002 13:27:14 +0200 From: foser User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020609 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] gnome-python/pygtk and "import gnome" References: <1023931844.6193.3.camel@usagi> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 0f5d7c15-9452-471c-bc69-bf2d70c9edb4 X-Archives-Hash: af901408e432747123fc487748e2df2f 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