Websocket_client.py** ERROR** in Colab environment**

I am using the code ‘websocket_client.py’ which I got from upstox GitHub. I am running this code in ‘Colab.research’ cloud environment. When I am running the code, I got the below error: ( attached the same in screenshot ). Could you please anyone help me to resolve the query.

It appears there might be a problem related to the Colab environment, preventing the execution of the run function. Could you attempt running the example from the GitHub repository on your local machine?

Nonetheless, we will also attempt to replicate the issue in the Colab environment and return with our findings.