(Resolved) Error in dhanhq import websockets

Hi, getting error when using dhanhq,the error is “File “C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\dhanhq\marketfeed.py”, line 9, in
import websockets
ModuleNotFoundError: No module named ‘websockets’” please advice

1 Like

You might need to install websockets module.

I faced similar issue and got resolved after the installation.

https://madefortrade.in/t/dhan-api-order-modification/20357/17

Thank you very much, I will try,will inform if resolved.

HI,
My issue is resolved after installing websockets

3 Likes