Pyspider installation under Windows

Source: Internet
Author: User
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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.