gpt4 book ai didi

python - Scrapy 安装 : no acceptable C compiler found in $PATH

转载 作者:行者123 更新时间:2023-11-28 22:07:17 25 4
gpt4 key购买 nike

我正在尝试安装 Scrapy在 Mac OS X 10.6.2 机器上...当我尝试构建依赖模块之一 ( libxml2 )

我收到以下错误:

configure: error: no acceptable C compiler found in $PATH

我假设我需要 gcc 编译器...在 10.6 上安装容易吗?是否有某种我应该安装的包,以免像在 Python 中安装模块那样挂起?

最佳答案

您需要安装 Apple Xcode 开发工具。会有关于 Apple Developer Connection site或者在您的 Mac OS X 安装 CD/DVD 上。确保安装了用于命令行开发的可选组件(Xcode 3.x 安装程序中的“Unix Development”)

关于python - Scrapy 安装 : no acceptable C compiler found in $PATH,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2371997/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com