如何刪除使用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
相關文章
相關標籤/搜索