mit-acl / clipper

graph-theoretic framework for robust pairwise data association
https://arxiv.org/abs/2011.10202
MIT License
233 stars 41 forks source link

How to uninstall clipper safely #6

Closed songanz closed 2 years ago

songanz commented 2 years ago

Hi, I would like to know how to uninstall clipper safely. I have installed the python bindings and I would like to uninstall it.

plusk01 commented 2 years ago

hi @songanz, clipper uses cmake for building, which does not support a make uninstall command. You can remove files yourself after a make install by removing the files in the automatically created install_manifest.txt (e.g., see this stackoverflow answer).

If you just want to remove the python bindings that were installed after running make pip-install, you can uninstall the clipper python package as you would any other python package --- pip uninstall clipper.

Note that with clipper version 0.2, the python package was renamed to clipperpy, so the command would be pip uninstall clipperpy. You can quickly check which version you have using pip list | grep clipper. For example, on my machine I have

$ python3 -m pip list | grep clipper
clipperpy                     0.2