ImportError: No module named concurrent



  • Hi,

    I assembled my UniPi + RasberryPi and isntalled the Evok API, but evok.py fails to start. The service fails to start so I tried starting it manually and I get this error:

    root@pi001:/etc/init.d# python2.6 /opt/evok/evok.py
    Traceback (most recent call last):
    File "/opt/evok/evok.py", line 14, in <module>
    from tornado.concurrent import is_future
    ImportError: No module named concurrent

    Tornado is installed, but there seems to be no tornado.concurrent in my installation. Is this due to the version of Tornado?

    Bert



  • Hi,

    I assembled my UniPi + RasberryPi and isntalled the Evok API, but evok.py fails to start. The service fails to start so I tried starting it manually and I get this error:

    root@pi001:/etc/init.d# python2.6 /opt/evok/evok.py
    Traceback (most recent call last):
    File "/opt/evok/evok.py", line 14, in <module>
    from tornado.concurrent import is_future
    ImportError: No module named concurrent

    Tornado is installed, but there seems to be no tornado.concurrent in my installation. Is this due to the version of Tornado?

    Bert



  • It seems it was an old version of tornado that was installed.
    Fixed it with:

    pip install tornado --upgrade
    

    Bert