求救,pyquery的安装问题
各位大侠,
小弟在安装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。
小弟在安装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。
...全文
相关推荐
windows下安装Pyquery
在Windows操作系统上安装Pyquery可能对初学者来说可能会有些挑战,因为涉及到Python环境、包管理器(如pip)以及可能的依赖问题。
Python爬虫辅助利器PyQuery模块的安装使用攻略
**验证安装**:安装完成后,可以在Python环境中导入PyQuery以验证是否安装成功: ```python from pyquery import PyQuery as pq ```#### 使用
python Pyquery库详细介绍,爬虫必备
在PyQuery的使用中,用户需要注意的是,尽管它非常强大,但它依赖于外部库lxml来处理XML和HTML,因此确保正确安装lxml和PyQuery库对于程序的运行至关重要。
python3解析库pyquery的深入讲解
PyQuery是一个强大的Python库,它模仿了JavaScript库jQuery的API和语法,使得开发者能够方便地在XML和HTML文档中进行类似于jQuery的选择和操作。该库主要基于lxml
浅谈解析库XPath,bs4和pyquery
**pyquery**:PyQuery的设计灵感来源于jQuery,它提供了与jQuery类似的API来处理HTML和XML文档。它的语法简洁,对开发者来说非常直观。


