python很好用,尤其是用过easy_install的朋友更是觉得它的便捷,卸载命令也很简单 easy_install -m package-name但是面对源码安装的怎么办呢?
setup.py 帮助你纪录安装细节方便你卸载python setup.py install --record log这时所有的安装细节都写到 log 里了想要卸载的时候cat log | xagrs rm -rf就可以干净卸载了