Configuring tornado in windows environment

  
        1. Foreword I have seen some tutorials on configuring tornado under Windows on the Internet. Some of them are very complicated to write, which makes people look good. Then I tried to configure tornado under windows. I found that the method is very simple and can be done in just a few steps. 2. Steps
  • The prerequisite for configuring tornado is that your windows has python installed, and it is a version above 2.x. You can go to the following URL to download python for windows: https: //www.python.org/downloads/, click on the download is complete you can run


  • Now suppose your windows already installed python 2.x or higher version. Then you can configure tornado.


  • First, download the tornado documents. At the following address you can download: http://github.com/downloads/facebook/tornado/tornado-1.2.1.tar.gz, after downloading, unzip the file and put it in the root directory of python, pay attention to this time Change the document name to “tornado”.


  • in the root directory tornado can be seen setup.py file, and this is what we need to install files.



  • Run command line, enter the above directory, then run the command python setup.py install


  • Verify The installation is successful: a. Run the command: import tornado in the python command line. If the loading is successful, the installation is successful. b. Run the program written using the tornado framework. If it is successful, indicating tornado successful configuration


  • So far, you have succeeded in the windows environment to configure a tornado

  • Copyright © Windows knowledge All Rights Reserved