Tornado ImportError: No module

UPDATE So I got rid of import tornado io.loop

and found out that the following error was about importing tornado.web failed, which could mean the tornado is not installed properly OR the server is not able to find the tornado. I don't understand why this is happening, although I installed the tornado with:

sudo pip install tornado

      

+3


source to share


2 answers


In my case, I got a similar error when I had different versions of python on my server (python27 and pypi), so you can make sure you installed the tornado package for the python27 interpreter with this command sudo python -m pip install tornado



0


source


I had so many problems getting tornado 5.0 installed on Ubuntu 14.05 using python 2.7.6. So I just installed an older version of tornado using pip install tornado == 4.5.2



0


source







All Articles