Re: [BangPypers] how to uninstall a package installed using easy_install

2011-02-03 Thread B.Nanda Kishore
+1 for pip

Regards,
Nandakishore


On Thu, Feb 3, 2011 at 2:50 PM, Noufal Ibrahim  wrote:

> On Thu, Feb 03 2011, Kenneth Gonsalves wrote:
>
> > hi,
> >
> > I installed hg-git using easy_install. Now hg is b0rked. What is the
> > best way of uninstalling hg-git - I do not see any uninstall option in
> > easy_install.
>
> The only way is to to use easy_install -m to remove the entry from the
> .pth file and then manually delete the package. The details are here
>
> http://peak.telecommunity.com/DevCenter/EasyInstall?action=highlight&value=uninstall#uninstalling-packages
>
> However, you shouldn't be using easy_install at all. pip[1] has all but
> superseded it. It has an uninstall command and does most things more
> sanely than does easy_install.
>
>
> Footnotes:
> [1]  http://pypi.python.org/pypi/pip
>
> --
> ___
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] how to uninstall a package installed using easy_install

2011-02-03 Thread Noufal Ibrahim
On Thu, Feb 03 2011, Kenneth Gonsalves wrote:

> hi,
>
> I installed hg-git using easy_install. Now hg is b0rked. What is the
> best way of uninstalling hg-git - I do not see any uninstall option in
> easy_install.

The only way is to to use easy_install -m to remove the entry from the
.pth file and then manually delete the package. The details are here
http://peak.telecommunity.com/DevCenter/EasyInstall?action=highlight&value=uninstall#uninstalling-packages

However, you shouldn't be using easy_install at all. pip[1] has all but
superseded it. It has an uninstall command and does most things more
sanely than does easy_install.


Footnotes: 
[1]  http://pypi.python.org/pypi/pip

-- 
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] how to uninstall a package installed using easy_install

2011-02-02 Thread Kenneth Gonsalves
On Thu, 2011-02-03 at 13:06 +0530, Balachandran Sivakumar wrote:
> On Thu, Feb 3, 2011 at 12:48 PM, Kenneth Gonsalves 
> wrote:
> > actually I had asked for the best way to do it - not for some kind
> soul
> > to do a search for me - thanks anyway.
> 
>   Well, it does look like the best option, to me. And the easy
> install documentation also give that as the way to uninstall
> 
> http://peak.telecommunity.com/DevCenter/EasyInstall#uninstalling-packages
> 
> Anyway, I am not aware of a different way to do it :) Also, I pointed
> to that link since you said you don't see an uninstall option. It was
> to tell that there is no direct command line switch, but a different
> option that leads to it. Thanks 

actually there is no uninstall option currently. A patch is being
written. The idea of asking on a mailing list is to get experiences of
other users - please give the OP credit to have the good sense to search
before asking questions.
-- 
regards
Kenneth Gonsalves
http://lawgon.livejournal.com/

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] how to uninstall a package installed using easy_install

2011-02-02 Thread Balachandran Sivakumar
Hi,

On Thu, Feb 3, 2011 at 12:48 PM, Kenneth Gonsalves  wrote:
> actually I had asked for the best way to do it - not for some kind soul
> to do a search for me - thanks anyway.

  Well, it does look like the best option, to me. And the easy
install documentation also give that as the way to uninstall

http://peak.telecommunity.com/DevCenter/EasyInstall#uninstalling-packages

Anyway, I am not aware of a different way to do it :) Also, I pointed
to that link since you said you don't see an uninstall option. It was
to tell that there is no direct command line switch, but a different
option that leads to it. Thanks


-- 
Thank you
Balachandran Sivakumar

Arise Awake and stop not till the goal is reached.

Mail: benignb...@gmail.com
Blog: http://benignbala.wordpress.com/
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] how to uninstall a package installed using easy_install

2011-02-02 Thread kausikram krishnasayee
On Thu, Feb 3, 2011 at 12:49 PM, kausikram krishnasayee  wrote:

> On Thu, Feb 3, 2011 at 12:16 PM, Kenneth Gonsalves wrote:
>
>> hi,
>>
>> I installed hg-git using easy_install. Now hg is b0rked. What is the
>> best way of uninstalling hg-git - I do not see any uninstall option in
>> easy_install.
>
>  I usually end up deleting the egg and the  path to the egg from the
easy_install path file. it has worked fine for me until now. i think the
idea would be to remove the package from the python path by hook or crook.
but agree it does not remove unneeded dependencies.

kausik

p.s: sorry could not complete the previous mail. hit enter by mistake.


-- 
Kausikram Krishnasayee
Company: http://silverstripesoftware.com | Webpage: kausikram.in | Blog:
blog.kausikram.in | Twitter: http://twitter.com/kausikram | Email:
kausik...@gmail.com | Mobile: +91 9884246490
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] how to uninstall a package installed using easy_install

2011-02-02 Thread Kenneth Gonsalves
On Thu, 2011-02-03 at 12:39 +0530, Balachandran Sivakumar wrote:
> On Thu, Feb 3, 2011 at 12:16 PM, Kenneth Gonsalves 
> wrote:
> > hi,
> >
> > I installed hg-git using easy_install. Now hg is b0rked. What is the
> > best way of uninstalling hg-git - I do not see any uninstall option
> in
> > easy_install.
> 
>A search gave this link:
> http://thingsilearned.com/2009/04/13/easy_install-uninstalling/
> 
>   Looks like they use the -m option + some manual job :) Thanks 

actually I had asked for the best way to do it - not for some kind soul
to do a search for me - thanks anyway.
-- 
regards
Kenneth Gonsalves
http://lawgon.livejournal.com/

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] how to uninstall a package installed using easy_install

2011-02-02 Thread kausikram krishnasayee
On Thu, Feb 3, 2011 at 12:16 PM, Kenneth Gonsalves  wrote:

> hi,
>
> I installed hg-git using easy_install. Now hg is b0rked. What is the
> best way of uninstalling hg-git - I do not see any uninstall option in
> easy_install.

I usually end up deleting the egg and the  path to the egg from the
easy_install path file. it
-- 
Kausikram Krishnasayee
Company: http://silverstripesoftware.com | Webpage: kausikram.in | Blog:
blog.kausikram.in | Twitter: http://twitter.com/kausikram | Email:
kausik...@gmail.com | Mobile: +91 9884246490
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] how to uninstall a package installed using easy_install

2011-02-02 Thread Balachandran Sivakumar
Hi,

On Thu, Feb 3, 2011 at 12:16 PM, Kenneth Gonsalves  wrote:
> hi,
>
> I installed hg-git using easy_install. Now hg is b0rked. What is the
> best way of uninstalling hg-git - I do not see any uninstall option in
> easy_install.

   A search gave this link:
http://thingsilearned.com/2009/04/13/easy_install-uninstalling/

  Looks like they use the -m option + some manual job :) Thanks


-- 
Thank you
Balachandran Sivakumar

Arise Awake and stop not till the goal is reached.

Mail: benignb...@gmail.com
Blog: http://benignbala.wordpress.com/
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers