Python Tornado window Platform installation __python

Source: Internet
Author: User

Most of the people who play Python are developing under Linux, and because of the long term habit of developing code under Windows, egg aches today try to configure python2.7+ under WINDOW7 tornado3.3 development environment, inevitably encountered in the middle of a variety of errors, but eventually the configuration was successful, posting convenient users less detours.

Start.

Premise: python2.7 installation is relatively simple, and there are a large number of articles on the Internet can find, here is no longer tired, directly into the tornado3.3 installation.

My python2.7 is in D:\Python27.

1.tornado Download

Download Tornado project directly from GitHub with Git tool

As shown in figure, I encountered a compile error, vcvarsall.bat this did not find, online check the reason is Python in the registry to find a directory of VS, and then in the VS directory to find Vcvarsall.bat. But the problem my machine vs version is low, Python inside the default is vc9.0 is vs2008 so it can't find the key value in the registry, return none, you can install a vs2008 version of the above, this problem first ignored, because it will not affect the use of the following ( We do not need to compile the installation)

Install after the completion of the Pyhon installation path under the \lib\site-packages of more than one Tornado folder, Tornado initial installation but not completed

Through the online article research to this, thought was completed, so began to run classic "helloworld.py" found the error .... My heart pulls cold and pulls cold

Execute under backports.ssl_match_hostname-3.4.0.2 path

1 Python steup Install

Finally again run helloworld.py, ni success ...

<a href= "Http://www.tbdazhe.com/wp-content/uploads/2014/01/20140117191042.png" class= "Cboxelement" Example4 "332" = "style=" Text-decoration:none; Color:rgb (1, 150, 227); >

Road long its repair far XI, I will be up and down and searching.

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.