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
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.