I’m trying to connect emotiv pro with psychopy. I get the error below - any ideas how to fix, thx:
Does this help?
It seems like you are missing the correct websocket dependency.
Please run
python3 -m pip install websocket_client
I got the same error. Installed the websocket_client but error persists. Any other clues as how to resolve this? It points to this section of the code.
def init_connection(self):
""" Open a websocket and connect to cortex. """
self.websocket = websocket.WebSocket(sslopt={"cert_reqs": ssl.CERT_NONE})
self.websocket.connect(self.CORTEX_URL, timeout=60)