【问题标题】:easy_install PIL failseasy_install PIL 失败
【发布时间】:2009-11-29 09:18:24
【问题描述】:

我正在尝试在新笔记本电脑上设置开发环境,我在设置 setuptools 和 python 等后尝试sudo easy_install PIL,我收到此错误。 Setup script exited with error: command 'gcc' failed with exit status 1

我在 Ubuntu Karmic 上安装了 gcc 和 build_essentials。完整回溯位于http://dpaste.de/fHiW/

【问题讨论】:

    标签: ubuntu installation apt-get


    【解决方案1】:

    您必须安装 python-dev 包,其中包含编译 C 扩展所需的 CPython 头文件。

    【讨论】:

      猜你喜欢
      • 2013-06-26
      • 2011-11-30
      • 1970-01-01
      • 2015-12-22
      • 1970-01-01
      • 2018-09-24
      • 2015-11-27
      • 2016-08-22
      • 2011-09-20
      相关资源
      最近更新 更多