When starting a simple application:
import tornado.web from tornadio import server from handler import BroadcastHandler urls = [ (r"/", BroadcastHandler) ] application = tornado.web.Application( urls ) if __name__ == "__main__": server.SocketServer(application) The following errors occur:
Traceback (most recent call last): File "serv.py", line 2, in <module> from tornadio import server File "/usr/local/lib/python3.4/dist-packages/tornadio/__init__.py", line 15, in <module> from tornadio.router import get_router File "/usr/local/lib/python3.4/dist-packages/tornadio/router.py", line 16, in <module> from tornadio import persistent, polling, session File "/usr/local/lib/python3.4/dist-packages/tornadio/polling.py", line 17, in <module> from urllib import unquote ImportError: cannot import name 'unquote' On the Internet, they write that when such an error occurs, you can try to replace from urllib import unquote with from urllib.parse import unquote .
Help me to understand.