Error in the new version 1.3.2

hI Dhan team,
i am receiving the following error while connecting :slight_smile:
Error-“File “C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\dhanhq_init_.py”, line 2, in
from dhanhq.marketfeed import DhanFeed
File “C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\dhanhq\marketfeed.py”, line 11, in
import asyncio
File “C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\asyncio_init_.py”, line 21, in
from .base_events import *
File “C:\Users\Administrator\AppData\Local\Programs\Python\Python312\Lib\site-packages\asyncio\base_events.py”, line
296
future = tasks.async(future, loop=self)
^^^^^
SyntaxError: invalid syntax”, I have uninstall and reinstalled dhanhq ver 1.3.2 and asyncio reinstalled.

Hello @kgselvam

Version 1.3.2 has been live for a while, and never saw this error before. Can you share the code line where this error is occurring or the entire print of error?

Hi @Hardik ,

thanks for your response, I have repaired the python installation after running the code said by Mr.sai_chandra in the topic marketfeed code showing error. that worked fine and I am now able test my code.

1 Like