Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newest version of Tornado has compatibility issue #471

Closed
WillTheSun opened this issue Mar 26, 2018 · 3 comments
Closed

Newest version of Tornado has compatibility issue #471

WillTheSun opened this issue Mar 26, 2018 · 3 comments
Labels

Comments

@WillTheSun
Copy link

I just did a fresh install and ran into an issue with Tornado. I was able to fix by downgrading Tornado to version 4.1.

$ python cps.py
Traceback (most recent call last):
  File "cps.py", line 18, in <module>
    from tornado.wsgi import WSGIContainer
  File "/Users/williamsun/Projects/calibre-web/vendor/tornado/wsgi.py", line 41, in <module>
    from tornado import web
  File "/Users/williamsun/Projects/calibre-web/vendor/tornado/web.py", line 86, in <module>
    from tornado import gen
  File "/Users/williamsun/Projects/calibre-web/vendor/tornado/gen.py", line 112, in <module>
    from singledispatch import singledispatch  # backport
ImportError: No module named singledispatch
@redcatone
Copy link

I encountered the same error but was able to fix it by installing the required module.
python -m pip install singledispatch backports_abc
Answer from Stack Overflow.

@GAumala
Copy link

GAumala commented Apr 8, 2018

I was having this same issue when using pip for Python 3. When I switched to pip for Python 2 everything worked flawlessly.

@WillTheSun
Copy link
Author

Interesting, I was also using pip for Python3. Not sure why it breaks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants