flybywire flybywire - 1 year ago 222
Python Question

python uninstall

I have installed a python package with

python install

How do I uninstall it?

Answer Source

You need to remove all files manually, and also undo any other stuff that installation did manually.

If you don't know the list of all files, you can reinstall it with the --record option, and take a look at the list this produces.

To record list of installed files, you can use:

python install --record files.txt

Once you want to uninstall you can use xargs to do the removal:

cat files.txt | xargs rm -rf
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download