इस error का उपाय क्या है? - Resolved

PS E:\vishal\dhan_practice> & C:/Users/Lenovo/anaconda3/python.exe e:/vishal/dhan_practice/dhan_sample_1.py
Traceback (most recent call last):
File “e:\vishal\dhan_practice\dhan_sample_1.py”, line 1, in
from dhanhq import dhanhq
File “C:\Users\Lenovo\anaconda3\Lib\site-packages\dhanhq_init_.py”, line 2, in
from dhanhq.marketfeed import DhanFeed
File “C:\Users\Lenovo\anaconda3\Lib\site-packages\dhanhq\marketfeed.py”, line 9, in
import websockets
ModuleNotFoundError: No module named ‘websockets’
PS E:\vishal\dhan_practice>

Try this pip install websockets in terminal

2 Likes

thanks
pip install “websockets” my computer

1 Like