NotImplementedError: QAsyncioEventLoop.getaddrinfo() is not implemented yet
Unsolved
Qt for Python
-
wrote on 9 Apr 2025, 19:28 last edited by
I was pointed to the QtAsyncio module to allow me to integrate asynchronous calls into my PyQt app.
I have a langgraph app that was working stand-alone, but when I port the code into an async method of my PyQt app, I get the error mentioned in the title.The offending code is this:
messages = await app.ainvoke(inputs)
ainvoke()
Is a standard langchain asynchronous function, and it worked when I ran the code in its own program before porting it to my PyQt app.
Can anybody please shed some light on this?
1/1