pyquery依赖
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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