96. Python version 3.6 Required,which is not fount in the registry (python3.6 installation Scrapy)

Source: Internet
Author: User

Having problems installing scrapy

Environment: WIN10 (64-bit), Python3.6 (64-bit)

Install Scrapy:

1. Install Wheel ( after installation, it is supported to install the software through the wheel file )

PIP3 Install Wheel

2, install lxml, Pyopenssl

lxml: Parse XML Library, very powerful, do crawler Bs4,selenium,xpath will use

PIP3 Install LXMLPIP3 Install Pyopenssl

3, Installation Pywin32

Download URL: https://sourceforge.net/projects/pywin32/files/pywin32/

Download 64-bit or 32-bit according to your own Python version (note: The Pywin32 version follows the Python version, that is, if win is 64 bits, but Python is 32 bits, Pywin32 will be 32 bit, not win-related))

Double-click Install (you may experience the following error is a registry problem)

Installing a third-party library appears Python version 3.6 required, which is not found in the registry error resolution

Create a file register.py content as follows. Then execute the script.

ImportSYS fromWinRegImport*#tweak as necessaryVersion = Sys.version[:3]installpath=Sys.prefixregpath="software\\python\\pythoncore\\%s\\"%(version) Installkey="InstallPath"Pythonkey="PythonPath"Pythonpath="%s;%s\\lib\\;%s\\dlls\\"%(InstallPath, InstallPath, InstallPath)defRegisterpy ():Try: Reg=Openkey (HKEY_CURRENT_USER, Regpath)exceptEnvironmentError as E:Try: Reg=CreateKey (HKEY_CURRENT_USER, Regpath) SetValue (Reg, Installkey, REG_SZ, InstallPath) SetValue (r Eg, Pythonkey, REG_SZ, Pythonpath) Closekey (REG)except:            Print("* * * Unable to register!")            return        Print("---Python", version,"is now registered!")        return    if(QueryValue (Reg, installkey) = = InstallPath andQueryValue (Reg, Pythonkey)==Pythonpath): Closekey (REG)Print("= = = Python", version,"is already registered!")        returnClosekey (REG)Print("* * * Unable to register!")    Print("* * * You probably has another Python installation!")if __name__=="__main__": Registerpy ()

4. Download Twisted

Download Twisted Wheel file: http://www.lfd.uci.edu/~gohlke/pythonlibs/

PIP3 Install download Catalog \TWISTED-17.9.0-CP36-CP36M-WIN_AMD64.WHL

Installation may be error-

 is " Microsoft Visual C + + Build Tools ": Http://landinghub.visualstudio.com/visual-cpp-build-tools

Description PC needs to install Visual C + + Build Tools 2015

5, Installation Scrapy

PIP3 Install Scrapy

6. Accomplished

This is the problem when installing scrapy today will send a detailed essay about scrapy. Interested to be able to pay attention to

96. Python version 3.6 Required,which is not fount in the registry (python3.6 installation Scrapy)

Related Article

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.