You are not logged in.
This should be an easy one, I just can't find the answer
I just installed something called gadfly by doing python setup.py as the readme told me; how can I now uninstall it? Am I able to?
.oO Komodo Dave Oo.
Offline
I haven't found anything about uninstalling Python modules in the documentation of the Python 2.4.2 (the distutils module, to be precise). There are many various commands for setup.py script, like build and install, but I haven't found any uninstall command.
But it's Python - my favourite programming language - and I know something about it. Unless the setup.py script does something very unusual, you can always uninstall an installed module manually, by removing all the installed files. It's quite easy. Let's assume, that you Python is installed in /path/to/Python. Then you should:
1) go to the /path/to/Python/lib/pythonX.Y/site-packages directory and look for all the files and/or directories that belong to the installed module (their names will be the same as the name of the installed module; e.g. the PyGame module has the directory named pygame).
2) just delete all these files and/or directories.
I had done it many times before I learnt to test a module before installing it.
Offline
Thanks a bunch TPJ, I'll follow your advice
.oO Komodo Dave Oo.
Offline