当我 easy_install greenlet 时,我收到“错误:安装脚本退出并出现错误:命令“gcc”;失败,退出状态为 1”

发布于 2024-09-14 00:24:39 字数 294 浏览 7 评论 0原文

当我按照 ubuntu 10.04 中的文档所述 easy_install greenlet(也是 eventlet)时,我收到了上面的错误。 有谁知道为什么吗? 期待您的帮助!

我已经安装了 build-essential

由于我无法在此处采用格式,因此我将打印出来的消息粘贴到那里 http://sugelawa.appspot.com/?p=35001

非常感谢你!

when i easy_install greenlet(also eventlet) as the documents says in ubuntu 10.04 i got the error above.
is there anyone know why?
Expect your help!

And I have install build-essential

As I canot take the format right here, so I paste the message printed out there http://sugelawa.appspot.com/?p=35001

Thank u very much!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

书间行客 2024-09-21 00:24:39

警告:Ubuntu 特定答案。有点适用于 Debian,但我现在脑子里没有详细信息)使用 easy_install 安装包含 C 的模块扩展(例如 greenlet),您需要在系统上安装完整的开发堆栈。对于基本安装,对于 C 部分意味着 build-essential ,对于 Python 部分意味着 python-all-dev (这就是 Python.h 的位置) > 生命)。

为了清楚起见,在问题中添加“ubuntu”标签(目前我自己还没有足够的声誉)

(Warning: Ubuntu specific answer. Somewhat applicable to Debian, to but I don't have the details in my head right now) To use easy_install to install modules that contain C extensions (like greenlet), you need a complete development stack installed on your system. For a basic install, the means build-essential for the C part and python-all-dev for the Python part (that's where Python.h lives).

Add an 'ubuntu' tag to the question for clarity (don't have sufficient reputation myself as of now)

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