卸载 Easy_Install
如何卸载 ez_setup 并从头开始?我看到有几个人在 SO 和网络上的其他地方提问,但是没有明确的答案。我是否只需卸载 .egg、.pth 文件就可以了?
这有关系吗?无论如何,我已经调整了我的 PATH 变量,而且我什至没有此框上的 su 访问权限。我安装到我自己的 Python 安装中,已经配置了 stow。
So I installed Python 2.7.1 from source on a server using stow. I have been careless in the past, and I am trying to keep organized when dealing with source installs. So, enter stow. Now I installed easy_install with wget
and running the ez_setup.py
script. Lo and behold, in my infinite wisdom/carelessness, I forgot to stow it properly.
How do I uninstall ez_setup and start from scratch? I have seen a couple of people ask on SO and other places on the web, but there is no clear answer. Do I just uninstall the .egg, the .pth file, and be done with it?
Does this matter? I had adjusted my
PATH
variable anyway, plus I do not even have su access on this box. I installed into my own Python install, already configured with stow.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
转到您的“site-packages”目录(查看您的
sys.path
),然后运行:并删除
easy_install
二进制文件。我在编写 PyPM 常见问题解答。Go to your "site-packages" directory (look at your
sys.path
) and then run:And delete the
easy_install
binary as well. I came up with these instructions when writing FAQ for PyPM.