如何删除使用Python的easy_install安装的软件包? - How do I remove packages installed with Python's easy_install?

问题:

Python's easy_install makes installing new packages extremely convenient. Python的easy_install使安装新包很是方便。 However, as far as I can tell, it doesn't implement the other common features of a dependency manager - listing and removing installed packages. 可是,据我所知,它没有实现依赖项管理器的其余常见功能 - 列出和删除已安装的软件包。 python

What is the best way of finding out what's installed, and what is the preferred way of removing installed packages? 找出已安装的内容的最佳方法是什么,以及删除已安装软件包的首选方法是什么? Are there any files that need to be updated if I remove packages manually (eg by rm /usr/local/lib/python2.6/dist-packages/my_installed_pkg.egg or similar)? 若是我手动删除包,是否须要更新任何文件(例如经过rm /usr/local/lib/python2.6/dist-packages/my_installed_pkg.egg或相似文件)? spa


解决方案:

参考一: https://stackoom.com/question/5APw/如何删除使用Python的easy-install安装的软件包
参考二: https://oldbug.net/q/5APw/How-do-I-remove-packages-installed-with-Python-s-easy-install
相关文章
相关标签/搜索