0. Environmental Statement
Win10 64bit, the computer is also 64bit processor, the computer is equipped with vs2010 64bit, but for the sake of insurance, only tested 32-bit installation, and so on, and then try the 64-bit installation. Without special instructions, all operations are performed under the Windows command line. The computer also needs to be networked, as Pip will need to download the relevant package online when it installs the package.
1. Install Python
I use win32-python-2.7.12, please remember to use the version above. 10, because I remember when the PIP was loaded, it seemed like I had to. 8 or more versions.
Then the relevant environment variables are configured to the path path, do not understand Google, the results such as the yellow description.
2. Install Pip
Click Https://pypi.python.org/pypi/pip to download pip-6.1.1.tar.gz (MD5, PGP)
After extracting the folder, execute:python setup.py install
3. Installing lxml
lxml is a library written in Python that allows you to work with XML quickly and flexibly. Select the corresponding Python version to install. ;
installation command:pip install lxml
Verify that the installation is successful see:
4. Installing Zope.interface
pip install zope.interface
5. Installing twisted
Twisted is an event-driven network engine framework implemented in Python that installs commands:
pip install twisted
When I turn, I have a problem:
Error:microsoft Visual C + + 9.0 is required (unable to find Vcvarsall.bat). Get it from Http://aka.ms/vcpython27
The solution is as follows:
Execute The following command based on the version of Visual Studio installed:
Visual Studio (VS10):SET VS90COMNTOOLS=%VS100COMNTOOLS%
Visual Studio (VS11):SET VS90COMNTOOLS=%VS110COMNTOOLS%
Visual Studio (VS12):SET VS90COMNTOOLS=%VS120COMNTOOLS%
Visual Studio (VS14):SET VS90COMNTOOLS=%VS140COMNTOOLS%
And then re-execute:
pip install twisted
Can.
6. Installing Pyopenssl
pip install pyopenssl
7. Installing Win32py
Provide Win32API, click http://sourceforge.net/projects/pywin32/files/pywin32/Download
Pywin32-220.win32-py2.1.exe, click Install.
8. Installing Scrapy
pip install scrapy
9. Test whether the Scrapy is available:
Installation is complete, start using it!
Ha ha......