I installed the latest version of websockets (4.0.1), copied the example from here: http://websockets.readthedocs.io/en/stable/intro.html and ran it in Python 3.5.2. I got an error: "module 'websockets' has no attribute 'serve'".