LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Thread Tools
Old 11-07-2009, 04:54 PM   #1
milomak
Member
 
Registered: May 2009
Posts: 55
Thanked: 1
How can I uninstall a python package installed with python setup.py install?


[Log in to get rid of this advertisement]
Is there a formal documented way?

I have found a method of doing it, but I find it difficult to believe the ability to uninstall is not formally supported.

http://kmandla.wordpress.com/2009/01...ppy-uninstall/

Essentially:

When you install - python setup.py install --record files.txt
when you uninstall - cat files.txt | xargs rm -rf

This will, however, require the user to look through files.txt like a hawk. It is really not an ideal situation I would think.
linux milomak is offline     Reply With Quote
Old 11-16-2009, 10:22 PM   #2
stevenworr
LQ Newbie
 
Registered: Oct 2008
Posts: 9
Thanked: 1
You are correct that distutils does not support uninstall. If you have a choice, you should use rpms (or deb) which do.
linux stevenworr is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 09:30 PM
dpkg wont install gmail-notify b/c depends on obselete python package baldy1324 Debian 3 08-11-2006 05:56 PM
How to uninstall package installed with make install dhirsolo Linux - Software 3 07-29-2005 03:11 PM
Uninstall a python package danesp Linux - Newbie 8 06-02-2005 12:25 AM
install python 2.3 ,necssary to remove python 2.2 ngan_yine Linux - Newbie 7 12-28-2003 05:07 PM


All times are GMT -5. The time now is 11:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration