PySpider安装教程
安装步骤
1、查看python版本
2、下载python版本对应的pycurl
pycurl地址: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycurl
这里python版本是3.10.4,所以下载cp310
3、安装pycurl
执行命令pip install 文件名
4、再次执行pip install pyspider
就可以了
备注:使用pyspider需要安装PhantomJS
PhantomJS地址: https://phantomjs.org/download.html
下载完成后进行解压,并将bin目录下的phantomjs.exe添加到系统的环境变量下即可