Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
6.6.2
-
None
-
Python 3.12.1
PySide6 6.6.2
Description
When I use QtAsyncio, I got this problem
Traceback (most recent call last): File "E:\Player\main.py", line 4, in <module> from PySide6 import QtAsyncio File "C:\Users\Alex\AppData\Local\pypoetry\Cache\virtualenvs\player-ZT0FA7Qo-py3.12\Lib\site-packages\PySide6\QtAsyncio\__init__.py", line 4, in <module> from .events import ( File "C:\Users\Alex\AppData\Local\pypoetry\Cache\virtualenvs\player-ZT0FA7Qo-py3.12\Lib\site-packages\PySide6\QtAsyncio\events.py", line 59, in <module> class QAsyncioEventLoopPolicy(asyncio.AbstractEventLoopPolicy): File "C:\Users\Alex\AppData\Local\pypoetry\Cache\virtualenvs\player-ZT0FA7Qo-py3.12\Lib\site-packages\PySide6\QtAsyncio\events.py", line 86, in QAsyncioEventLoopPolicy def get_child_watcher(self) -> asyncio.AbstractChildWatcher: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'asyncio' has no attribute 'AbstractChildWatcher'
It seems that AbstractChildWatcher deprecated since version 3.12.
asyncio.AbstractChildWatcher