我已经安装了几个使用easy_install的Python模块。我如何卸载它们?如何卸载通过easy_install安装的Python模块(“蛋”)?
我看不到easy_install --help
中列出的卸载选项。
我已经安装了几个使用easy_install的Python模块。我如何卸载它们?如何卸载通过easy_install安装的Python模块(“蛋”)?
我看不到easy_install --help
中列出的卸载选项。
啊,在这里我们去:
$ easy_install -m PackageName
$ rm EggFile
我不太清楚-m
选项的作用,但这种方法似乎是为我工作(即做,我不能再import
模块后在我的Python解释器中)。
尽管如此,你并没有完全去除鸡蛋。 easy_install不支持卸载,软件包管理器不支持,并且安装到virtualenv中可让您删除整个virtualenv。 – Tobu 2010-12-05 16:50:20
easy_install
确实为我工作。
我也能测试easy_install -m
简称的工作。例如:
easy_install -m mesos # (short for mesos-0.16.0-py2.6-linux-x86_64.egg)
pip uninstall mesos
也最终使用短名称。
重复的http://stackoverflow.com/questions/1231688/how-do-i-remove-packages-installed-with-pythons-easy-install哪里有更多的信息。 – jrouquie 2012-07-02 15:04:57