问题:
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. 但是,据我所知,它没有实现依赖项管理器的其他常见功能 - 列出和删除已安装的软件包。
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
或类似文件)?
解决方案:
参考一: https://stackoom.com/question/5APw/如何删除使用Python的easy-install安装的软件包参考二: https://oldbug.net/q/5APw/How-do-I-remove-packages-installed-with-Python-s-easy-install
来源:oschina
链接:https://my.oschina.net/u/3797416/blog/4261585