import "dhanhq" could not be resolvedPylance

Traceback (most recent call last):
File “d:\Trading\STATIC API.py”, line 1, in
from dhanhq import dhanhq
File “C:\Users\sanjo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\dhanhq_init_.py”, line 2, in
from dhanhq.marketfeed import DhanFeed
File “C:\Users\sanjo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\dhanhq\marketfeed.py”, line 9, in
import websockets
ModuleNotFoundError: No module named ‘websockets’

Hello @sanjoy_bhui

Welcome to MadeForTrade community!

Would request you to upgrade to latest build of DhanHQ - v1.4.

Update with:

pip install --upgrade dhanhq