当前位置:首页 > 操作系统 > MacOs

python-在Mac Os X 10.6上安装scrapy时出错

尝试使用此guide在Mac OSX 10.6上安装Scrapy:

从终端运行以下命令时:

<code>cd libxml2-2.7.3/python
sudo make install
</code>

我收到以下错误:

<code>Making install in .
make[1]: *** No rule to make target `../libxslt/libxslt.la', needed by `libxsltmod.la'.  Stop.
make: *** [install-recursive] Error 1
</code>

遵循Guide中涉及构建和安装libxml2和libxslt软件包的第一步似乎很成功.

解决方法:

最简单的方法是使用MacPorts到install python and the libraries you need.


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐