Hi, I had the same error upgrading web2py to version 2.20.4
The python version in pythonanywhere was 2.7.6 Changing the python version to 3.5.2 solved it. El martes, 2 de abril de 2019, 17:20:33 (UTC+2), Philip Kilner escribió: > > Since I asked the question, the ever-helpful Giles has popped up in the > forum at PythonAnywhere, and he tells me that they work off images, and > that mine was an old one - he's organising an update to the latest version, > which takes Python to 2.7.12, > > I suspect that if you are able to check your Python version, you will be > at 2.78 or later - I think I am the exception, by virtue of being on an > older image. > > -- > > P > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/5c1f0d8c-770f-4d0f-bc17-14005185d4e9o%40googlegroups.com.