• 全部
  • 互动交流
  • 文章分享

求救,pyquery的安装问题

jiangximifen 2014-04-23 06:51:33
各位大侠,
小弟在安装pyquery的时候,遇到下面的错误告警是什么意思呀,需要如何处理?

Building without Cython.
Using build configuration of libxslt 1.1.28
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'
warnings.warn(msg)
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
error: Setup script exited with error: command 'cc' failed with exit status 1

偶就是直接从官网下载程序,然后运行sudo python setup.py install。对了,我用的机器是mac。
...全文
176 点赞 收藏 3
写回复
3 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
jiangximifen 2014-04-30
谢谢lasky大侠,你给的链接很有用。我用下面命令安装成功了。 sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future python setup.py install
回复
iasky 2014-04-23
https://github.com/romanbsd/fast-stemmer/issues/9 看看也许有用。
回复
jiangximifen 2014-04-23
多拷贝了一些安装内容: Installed /Library/Python/2.7/site-packages/pyquery-1.2.8-py2.7.egg Processing dependencies for pyquery==1.2.8 Searching for lxml>=2.1 Reading http://pypi.python.org/simple/lxml/ Best match: lxml 3.3.5 Downloading https://pypi.python.org/packages/source/l/lxml/lxml-3.3.5.tar.gz#md5=88c75f4c73fc8f59c9ebb17495044f2f Processing lxml-3.3.5.tar.gz Running lxml-3.3.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-DbgeH8/lxml-3.3.5/egg-dist-tmp-OBDQla Building lxml version 3.3.5. Building without Cython. Using build configuration of libxslt 1.1.28 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url' warnings.warn(msg) clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future error: Setup script exited with error: command 'cc' failed with exit status 1
回复
相关推荐
发帖
脚本语言
创建于2007-08-27

3.7w+

社区成员

JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
申请成为版主
帖子事件
创建了帖子
2014-04-23 06:51
社区公告

CSDN 脚本语言社区接受专栏投稿(专栏会在顶部创建专属你的栏目),投稿需满足以下要求:

  • 脚本语言技术相关;
  • 文章持续更新,保持活跃;
  • 内容清晰明了,干货为主;
  • 文章排版有序,有条有理。

本社区开通招聘专栏,发布招聘信息请联系版主,发布者需要保证招聘信息真实有效,CSDN 平台和版主不对招聘内容负责!

联系方式:私聊版主、发送邮件、QQ联系等均可: