Websocket error...1

Good day sir,
While running the python program i am getting the ModuleNot Found Error: No module named ‘websockets’
Kindly advise whats wrong and how to correct this?

@Hardik, @RahulDeshpande , @shraddha please reply regarding above error.

Hello @KomalRani

Over here, you need to install websockets module in your environment to run the library.

You can simply use below command in environment CLI where you have installed dhanHQ library:

pip install websockets

@Hardik thanks sir, problem resolved.

1 Like