 |
|
 |
|
Next: Accepted libquota-perl 1.6.3+dfsg-2 (source amd64..
|
| Author |
Message |
External

Since: Jun 22, 2009 Posts: 1
|
(Msg. 1) Posted: Mon Jun 22, 2009 3:20 am
Post subject: python package installation problem Archived from groups: linux>debian>maint>python (more info?)
|
|
|
Hi, I'm using Debian 5.0.
I'm having problems with python packages installed with apt specifically
gtk and gobject. I'm trying to install wicd which requires these
modules. Installation was successful, but when I tried to run it , I had
an error "No module named gtk". If I look at modules in python help,
these modules are not there
I assume python-gtk2 and python-gobject are the packages associated with
these modules and I tried reinstalling these but didn't work.
I might have broken something with python-central or something, when I
was fixing a weird dependency error. It's a long story. If there's a way
to fix this problem quickly, I would really appreciate it.
--
To UNSUBSCRIBE, email to debian-python-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org |
|
| Back to top |
|
 |  |
External

Since: Jun 25, 2007 Posts: 5
|
(Msg. 2) Posted: Mon Jun 22, 2009 7:20 am
Post subject: Re: python package installation problem [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Hi Sancar,
On Sun, Jun 21, 2009 at 08:53:07PM -0400, Sancar wrote:
> I might have broken something with python-central or something, when I
> was fixing a weird dependency error. It's a long story. If there's a way
> to fix this problem quickly, I would really appreciate it.
It is easy to mess up a package transitioning from python-central to
python-support. You should look into your
/usr/lib/python2.?/site-packages directory. If you find broken
symlinks to /usr/share/pyshared/something, *check*twice* then remove the
said something directory and Python will find the package installed by
python-support.
--
Nicolas Chauvat
logilab.fr - services en informatique scientifique et gestion de connaissances
--
To UNSUBSCRIBE, email to debian-python-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org |
|
| Back to top |
|
 |  |
External

Since: Jun 22, 2009 Posts: 1
|
(Msg. 3) Posted: Mon Jun 22, 2009 11:20 am
Post subject: Re: python package installation problem [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
I had manually deleted those site-packages directories in order to fix
an apt problem. In /usr/share/pyshared I see none of the gtk2 or
gobject files.
cd /usr/share/python-support/ I have directories for python-gtk2 and
python-gobject.
Is the easiest thing to do remove python-2.4/5 and reinstall them
On Mon, Jun 22, 2009 at 6:33 AM, Nicolas
Chauvat<nicolas.chauvat RemoveThis @logilab.fr> wrote:
> Hi Sancar,
>
> On Sun, Jun 21, 2009 at 08:53:07PM -0400, Sancar wrote:
>> I might have broken something with python-central or something, when I
>> was fixing a weird dependency error. It's a long story. If there's a way
>> to fix this problem quickly, I would really appreciate it.
>
> It is easy to mess up a package transitioning from python-central to
> python-support. You should look into your
> /usr/lib/python2.?/site-packages directory. If you find broken
> symlinks to /usr/share/pyshared/something, *check*twice* then remove the
> said something directory and Python will find the package installed by
> python-support.
>
> --
> Nicolas Chauvat
>
> logilab.fr - services en informatique scientifique et gestion de connaissances
>
--
Sancar Adali
Johns Hopkins University
Graduate Student
--
To UNSUBSCRIBE, email to debian-python-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org |
|
| Back to top |
|
 |  |
External

Since: Jun 25, 2007 Posts: 5
|
(Msg. 4) Posted: Mon Jun 22, 2009 11:20 am
Post subject: Re: python package installation problem [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Mon, Jun 22, 2009 at 11:00:08AM -0400, Sancar Adali wrote:
> I had manually deleted those site-packages directories in order to fix
> an apt problem. In /usr/share/pyshared I see none of the gtk2 or
> gobject files.
> cd /usr/share/python-support/ I have directories for python-gtk2 and
> python-gobject.
> Is the easiest thing to do remove python-2.4/5 and reinstall them
Unless you already deleted something you should not have deleted,
rm -r /usr/share/pyshared/something
rm -r /usr/lib/python-2.?/site-packages/something
should be enough to solve your problem.
If that doesn't work, purging packages and reinstalling is probably
the easiest thing to do.
--
Nicolas Chauvat
logilab.fr - services en informatique scientifique et gestion de connaissances
--
To UNSUBSCRIBE, email to debian-python-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org |
|
| Back to top |
|
 |  |
External

Since: Jun 25, 2007 Posts: 5
|
(Msg. 5) Posted: Mon Jun 22, 2009 5:20 pm
Post subject: Re: python package installation problem [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Mon, Jun 22, 2009 at 07:25:54PM +0200, Piotr Ożarowski wrote:
> > rm -r /usr/share/pyshared/something
>
> NEVER DO THAT
>
> > rm -r /usr/lib/python-2.?/site-packages/something
>
> almost never do that
>
> If your package leaves pycental leftovers, use preinst scipt to
> remove /usr/lib/python-2.?/site-packages/foo (see archives for more
> details, "rm" command will not be necessary in most cases) - you have to
> be sure no other package is using "foo" namespace, though
I was describing a way to fix an installation broken by a package that
did not do the right thing when migrating from central to support.
I was not recommending this as the Right Thing to do in all cases.
In my case, running 'pycentral pkgremove something' by hand failed to
fix the situation once the package with broken upgrade path was
installed.
--
Nicolas Chauvat
logilab.fr - services en informatique scientifique et gestion de connaissances
--
To UNSUBSCRIBE, email to debian-python-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org |
|
| Back to top |
|
 |  |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|