Win10 64bit installation scrapy-1.1, win10scrapy-1.1
0. Environment Description
Win10 64bit, the computer is also a 64bit processor, the computer is equipped with vs2010 64bit, but for the sake of safety, only the 32-bit installation, wait for time, try again 64-bit installation. Unless otherwise specified, all operations are performed under the windows command line. Computers also need to be connected to the Internet, because pip needs to download related packages online during the installation package.
1. Install python
I am using a win32-python-2.7.12, please remember to use version above. 10 or above, because I remember to install pip, it seems to have to. 8 or above.
Then, configure the relevant environment variables to the path. If you do not understand the path, please google. The result is yellow.
2. Install pip
Click the https://pypi.python.org/pypi/pip to download pip-6.1.1.tar.gz (md5, pgp)
Decompress the package and run python setup. py install.
3. Install lxml
Lxml is a library written in Python that can process XML quickly and flexibly. Select the corresponding Python version for installation .;
Installation command: pip install lxml
To verify whether the installation is successful, see:
4. install zope. interface
Pip install zope. interface
5. Install Twisted
Twisted is an event-driven network engine framework implemented in Python. The installation command is as follows:
Pip install twisted
I encountered a problem during the transfer:
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 2010 (VS10 ):SET VS90COMNTOOLS=%VS100COMNTOOLS%
Visual Studio 2012 (VS11 ):SET VS90COMNTOOLS=%VS110COMNTOOLS%
Visual Studio 2013 (VS12 ):SET VS90COMNTOOLS=%VS120COMNTOOLS%
Visual Studio 2015 (VS14 ):SET VS90COMNTOOLS=%VS140COMNTOOLS%
Then run the following command again:
Pip install twisted
You can.
6. Install pyOpenSSL
Pip install pyopenssl
7. Install win32py
Provide win32api, click http://sourceforge.net/projects/pywin32/files/pywin32/download
Pywin32-220.win32-py2.1.exe, click to install.
8. Install scrapy
Pip install scrapy
9. Test whether scrapy is available:
Installation is complete. start using it!
Haha ......