I have loaded twisted using pip pip install twisted. Then I tried to import from autobahn.twisted.websocket import WebSocketClientProtocol, I get error when I import 'twisted' has no attribute '__version__'.
pip install --upgrade pyopenssl can solve the issue when I am using Ubuntu
'twisted' has no attribute '__version__'