Engineering Leadership

Please see my prior post on how to Setup virtualenv on Windows.

Open PowerShell, then enter the following commands:

cd C:\Python27


.\Scripts\easy_install.exe pip

pip.exe install tornado -E .\env_tornado


If you want to install in the global site packages, then skip pip above and use:

.\Scripts\easy_install.exe tornado

That’s it. Time to start writing code.

9 thoughts on “Install Tornado on Windows 7

  1. nima says:

    Great, thanks

  2. Alex Rattray says:

    It says on the home page that tornado only supports unix…. Have you found this not to be true?

    1. akbarsahmed says:

      Tornado’s only dependency is the Python standard library, so I was able to install/run it on Windows. That said, I have not developed much on Tornado, this was just a quick install as I wanted to play with it. So, there may or may not be limited functionality on Windows. Also, I primarily develop on Linux and I don’t recall if this was a smoke test to see if our Windows devs could install/use Tornado, or if I ran any sample apps. Sorry for being vague, but I really don’t recall.

      I know there used to be an issue with Tornado’s use of ‘fcntl’ (this is Unix only, and I don’t know if FB has removed this dependency). Also, the prior dependency on ‘pycurl’ is now optional.

      1. Alex Rattray says:

        Awesome, thanks for the helpful reply! I’ll try to follow up here if I experiment further myself.

  3. jec says:


    Does this “trick” works with windows XP ?

    1. akbarsahmed says:

      I don’t know. If you try it, let me know if it works.

      1. jec says:

        Okay, then, I sucessfully installed tornado on Win XP and it seems to be working altrough I didn’t tested it yet.

      2. jec says:

        Okay, I tested it and it works (post requests and getting arguments)

        Nice, thanks you 🙂

  4. Thank You! This helped me, so just in case this can help someone else…

    I havee Windows 7 asmy OS and got an error: “ImportError: no module named tornado” when I tried running >ipython notebook

    All I had to do is tweak the working directory:
    >cd C:\Miniconda
    >.\Scripts\easy_install.exe tornado

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: