为 Python 2.6.2 安装 easy_install (缺少?)
我不是Python用户,我只是想启动并运行couchdb-dump,它位于一个“egg”文件中,我猜需要easy_install。 我的计算机上运行着 Python 2.6.2,但它似乎对 easy_install 或 setuptools 一无所知...救命! 我能做什么来解决这个问题???
编辑:您可能会在 setuptools 页面注意到是 2.3、2.4 和 2.5 的 Windows .exe 安装程序,但不是 2.6。 有没有搞错?!?!
啊,这是一个重复的问题,对不起。
ps 这个解决方案是看起来最简单而且对我有用的一个。
I am not a python user, I'm just trying to get couchdb-dump up and running and it's in an "egg" file which I guess needs easy_install. I have Python 2.6.2 running on my computer but it seems to know nothing about easy_install or setuptools... help! What can I do to fix this???
edit: you may note from the setuptools page that there are Windows .exe installers for 2.3, 2.4, and 2.5, but not 2.6. What the heck?!?!
argh, this is a duplicate question, sorry.
p.s. this solution is the one that seemed simplest and it worked for me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我也不喜欢整个 easy_install 的事情。
但解决方案是下载源代码,解压它,然后输入
I don't like the whole easy_install thing either.
But the solution is to download the source, untar it, and type
http://pypi.python.org/pypi/setuptools
...已更新并具有适用于 Python 2.6 和 2.7 的 Windows 安装程序
(注意:如果您需要 64 位 Windows 安装程序:http://www.lfd.uci.edu/~gohlke/pythonlibs/)
http://pypi.python.org/pypi/setuptools
... has been updated and has windows installers for Python 2.6 and 2.7
(note: if you need 64-bit windows installer: http://www.lfd.uci.edu/~gohlke/pythonlibs/)
要安装 2.6 版的 setuptools,请从以下位置下载“ez_setup.py”:
http://svn.python.org/projects/sandbox/branches/setuptools-0.6/#egg=setuptools-dev06
并运行它。 应该安装安装工具。
这会将 easy_install 放置在您的 python26/Scripts 目录中,确保它位于您的 PATH 中,然后您应该能够使用 easy_install。
For installing setuptools for 2.6 download "ez_setup.py" from:
http://svn.python.org/projects/sandbox/branches/setuptools-0.6/#egg=setuptools-dev06
And run it. setuptools should be installed.
This will place easy_install in your python26/Scripts directory, make sure this is in your PATH, and then you should be able to use easy_install.