1. Install python Download the Python installation package according to your needs and install Python (this article is based on python27) https://www.python.org/downloads/
Download the installation default installation path to facilitate subsequent
Add a path to the environment variable ---"path" :"C:\Python27; C:\Python27\Scripts; " enter in the run " cmd " Open the Command window, enter "python--version"and if the Python version number is successfully displayed, the Python installation is successful! If it doesn't, restart the computer!
2. Installing Pywin32
Download the appropriate PYWIN32 installation package as needed https://sourceforge.net/projects/pywin32/files/pywin32/build%20217/
Version number: Select one of the first two to open
Bloggers are 32-bit Python, so check the download below: (see the number of bits of Python you have installed to open cmd directly, enter Python, 32-bit is displayed: Python 2.7.2+ ... [MSC v.1500 + bit (Intel)] on Win32)
3. Install PIP is generally installed by default Python, in the "installation directory/python27/scripts" directory, "Pip.exe" is the default installation success;
If Python is not installed by default, the before installing PIP, make sure that you have the Python, and Easy_install tools installed in your win system, if the system installation is successful, Easy_install under directory C:\Python27\Scripts
Go to the command line, and then switch the directory to the script folder under the Python installation directory to run Easy_inatall pip
Restart cmd Command window, enter "Pip--version", if the PIP version number is displayed, the installation is successful!
4. Installing lxml
If the system does not have VS2008 installed, install the vcforpython27 before installing lxml. In the https://pypi.python.org/pypi/lxml/3.6.0# download lxml for 2.7, download the installation.
5. Installing Pyopenssl
Restart cmd Command window, install OpenSSL with pip, enter command " pip Install Pyopenssl "
6. Installing Scrapy
Restart cmd Command window, install OpenSSL with pip, enter command " pip Install scrapy " wait for automatic installation, enter after installation is complete " scrapy ", prompts the scrapy command prompt content, the installation process ends.
Windows under Scrapy crawler frame