Fixed with this small change to transport.py from socket import error as SocketError try: from websocket import ( SSLError, WebSocketConnectionClosedException, WebSocketTimeoutException, create_connection) except ImportError: exit("""\ An incompatible websocket library is conflicting ...