Skip to content

Instantly share code, notes, and snippets.

@diPDew
Created May 10, 2016 05:10
Show Gist options
  • Save diPDew/535ea64c6b1997861223799d1b1be0d8 to your computer and use it in GitHub Desktop.
Save diPDew/535ea64c6b1997861223799d1b1be0d8 to your computer and use it in GitHub Desktop.
Manually uinstall NumPy or SciPy

python setup.py uninstall from stackoverflow

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 setup.py install --record files.txt

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

cat files.txt | xargs rm -rf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment