Pyspider installation under Windows 64-bit
Installations under Windows cannot simply install the latest version of Python in accordance with the Pyspider guide and then use the PIP directly to install, causing Pycurl to install the wrong prompts and install interrupts. The following is the author after many failures and seek solutions to the summary of the installation steps.
1. Install Python
Download Address https://www.python.org/downloads/windows/
Select version, because Pycurl currently only supports version 3.5, so select the python3.5 version of the installation. The reason why you chose to install Pycurl separately is that the Pycurl installation error occurs when you follow the Pyspider installation Guide.
2, install the corresponding Python version of the Pycurl
Download Address Https://bintray.com/pycurl/pycurl/pycurl/view#files
Select the corresponding version of the exe file download installation, the author is using 64-bit Windows 10 system, so select Pycurl-7.43.0.win-amd64-py3.5.exe
The installer will automatically prompt for and find the location of the installation of Python
3. Set Windows environment variable path, you must set two, one for Python itself, one for PIP installation (note: XXX Replace with current Windows user name)
C:\Users\ XXX \appdata\local\programs\python\python35
C:\Users\ XXX \appdata\local\programs\python\python35\scripts
4, in Windows Terminal mode in accordance with the Pyspider installation Guide to run
Reference: http://docs.pyspider.org/en/latest/#installation
Pip Install Pyspider
5. Operation Pyspider
Type the command directly Pyspider
6, in the browser input http://localhost:5000 use Pyspider
Note: Although 64-bit can be successfully installed, there will be a Python run crash in the later run, only 32-bit installation run
Pyspider the location of project data
If you need to reinstall Pyspider and discard the original items, delete the files in the C:\Users\xxx\data directory pyspider Windows 32-bit installation
Use PIP to install Pyspider in 32-bit mode, you can automatically install the Pycurl correctly, so do not install Pycurl separately
1. Install Python
Download the 32-bit version of Python and install
2. Set Windows environment variable path, you must set two, one for Python itself, one for PIP installation (note: XXX Replace with current Windows user name)
C:\Users\xxx\AppData\Local\Programs\Python\Python35-32
C:\Users\ XXX \appdata\local\programs\python\python35\scripts-32
3, in Windows Terminal mode in accordance with the Pyspider installation Guide to run
Reference: http://docs.pyspider.org/en/latest/#installation
Pip Install Pyspider
4. Operation Pyspider
Type the command directly Pyspider
5, in the browser input http://localhost:5000 use Pyspider
(This article for the author original, such as reprint please specify the author: Wax Gourd Content Practice Address: www.g2gw.cn)