Python3 recent study reptiles, learned today pyspider, and then install pyspider in win7 system, resulting in a series of errors
First, I installed using pip3 install pyspider command, resulting in a low pip version
Pip error that my version is too low
python3 -m pip install - upgrade pip for pip pipeline upgrade
There error
Command "python setup.py egg_info" failed with error code 10 in C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-9btrhzx4\pycurl\
Here are the steps to solve:
The first step : First, install the wheel
Install command pip3 install wheel
Step Two : website https://www.lfd.uci.edu/~gohlke/pythonlibs/
Because I use python3.7, so I chose cp37 version, plus a 64-bit computer operating system, so I chose the last one
The third step: the downloaded file into a directory under my directory is E: \ kf \ python \ pycurl-7.43.0.3-cp37-cp37m-win_amd64.whl
So my installation command is pip3 install E: \ kf \ python \ pycurl-7.43.0.3-cp37-cp37m-win_amd64.whl
(venv) E:\pythomwww>pip3 install E:\kf\python\pycurl-7.43.0.3-cp37-cp37m-win_amd64.whl
Processing e:\kf\python\pycurl-7.43.0.3-cp37-cp37m-win_amd64.whl
Installing collected packages: pycurl
Successfully installed pycurl-7.43.0.3
Step four : the installation command pip3 install pyspider
Very smooth installation is complete
References in the code under test
import pyspider
ok,