Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
pyquery依赖
wget "https://bootstrap.pypa.io/get-pip.py"
python get-pip.py
sudo apt-get build-dep -y python-lxml (#该步骤会下载一百多M的依赖包安装)
pip install pyquery
亦或者直接安装python-lxml包
如果你不需要将pyquery安装到虚拟环境中,那么直接安装python-pyquery包是最简单的~~~
用上面的办法实在是因为各种测试网上类似的
sudo apt-get install libxml2-dev libxslt1-dev python-dev zlib1g-dev #诸如此类不给力才有此下策
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.