473,385 Members | 1,372 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how to unistall a Python package?

Hi all,

installing a package with 'setup.py' is easy. But how do I uninstall the
package, once I want to get rid of it again?

Thanks,

siggi

Jan 25 '07 #1
5 4223

you delete it from lib

Jan 25 '07 #2
Third party packages are put into $PYTHONHOME\Lib\site-packages after been installed, so to uninstall them, just go there and delete the directory contains all files of your package.


----- Original Message -----
From: "siggi" <sm***********@yahoo.com>
Newsgroups: comp.lang.python
To: <py*********@python.org>
Sent: Thursday, January 25, 2007 10:02 PM
Subject: how to unistall a Python package?


Hi all,

installing a package with 'setup.py' is easy. But how do I uninstall the
package, once I want to get rid of it again?

Thanks,

siggi



--
http://mail.python.org/mailman/listinfo/python-list
Jan 25 '07 #3
With Windows, a few packages, eg. PythonWin, also modify the registry.
numpy, the elaboration of numarray/numeric, and PythonWin have
RemoveXXX.exe in C:\Python25.

I don't know whether this is the standard approach. There doesn't seem
to be a reference to Removal in the distutils document.

Colin W.

Wang Shuhao wrote:
Third party packages are put into $PYTHONHOME\Lib\site-packages after been installed, so to uninstall them, just go there and delete the directory contains all files of your package.
----- Original Message -----
From: "siggi" <sm***********@yahoo.com>
Newsgroups: comp.lang.python
To: <py*********@python.org>
Sent: Thursday, January 25, 2007 10:02 PM
Subject: how to unistall a Python package?

>Hi all,

installing a package with 'setup.py' is easy. But how do I uninstall the
package, once I want to get rid of it again?

Thanks,

siggi

--
http://mail.python.org/mailman/listinfo/python-list
Jan 26 '07 #4
Thanks for your answers, Martin, Wang and Colin!

siggi

"siggi" <sm***********@yahoo.comschrieb im Newsbeitrag
news:ep***********@zam602.zam.kfa-juelich.de...
Hi all,

installing a package with 'setup.py' is easy. But how do I uninstall the
package, once I want to get rid of it again?

Thanks,

siggi

Jan 26 '07 #5
Colin J. Williams schrieb:
With Windows, a few packages, eg. PythonWin, also modify the registry.
numpy, the elaboration of numarray/numeric, and PythonWin have
RemoveXXX.exe in C:\Python25.

I don't know whether this is the standard approach. There doesn't seem
to be a reference to Removal in the distutils document.
Packages that are create with distutils bdist_wininst command can be removed
using the control panel->add/Software/ Add Remove programs.

This calls RemoveXXX.exe (which is undocumented on purpose).

Thomas
Jan 26 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

36
by: Andrea Griffini | last post by:
I did it. I proposed python as the main language for our next CAD/CAM software because I think that it has all the potential needed for it. I'm not sure yet if the decision will get through, but...
8
by: Georg Brandl | last post by:
Hello c.l.py, what features would you expect of a Python package manager, similar to CPAN or rubygems? I am currently planning to write such a thing, at first privately for myself, and if...
1
by: bruce | last post by:
hi.. i'm trying to figure out how to uninstall "mechanize". i don't see an "unistall" from the "python --help-commands" function... i'm looking to rebuild/reinstall mechanize from the svn...
0
by: | last post by:
Greetings. In an effort to get python2.4 on my Centos 3.7, I installed the python bootstrap rpm. This installed 2.4 alongside 2.2 and updated yum to 2.4.0. Oddly, it didn't create a symlink...
4
by: Alia Khouri | last post by:
Can we open up the discussion here about how to improve setuptools which has become the de facto standard for distributing / installing python software. I've been playing around with ruby's gems...
0
by: Steven Samuel Cole | last post by:
Hi Stephane, thanks for your reply! :-) I do not get any notification or warning or whatever from dpkg, all output I get when running # sudo dpkg -i python-<package name>_0.0.1-4927-1_all.deb...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.