为 Python 2.6.2 安装 easy_install (缺少?)

发布于 2024-07-26 08:59:22 字数 646 浏览 6 评论 0原文

我不是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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

美人迟暮 2024-08-02 08:59:22

我也不喜欢整个 easy_install 的事情。

但解决方案是下载源代码,解压它,然后输入

python setup.py install

I don't like the whole easy_install thing either.

But the solution is to download the source, untar it, and type

python setup.py install
海的爱人是光 2024-08-02 08:59:22

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/)

归属感 2024-08-02 08:59:22

要安装 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文