pysnmp
pysnmp copied to clipboard
AttributeError: module 'asyncio' has no attribute 'coroutine' -- Python 3.11
trafficstars
Upgraded to Python 3.11 and started getting the following exception when using async features of PySNMP 4.4.12.
AttributeError: module 'asyncio' has no attribute 'coroutine'
Support for generator-based coroutines, used in PySNMP, is deprecated and is removed in Python 3.11.
Had to downgrade to Python 3.10 as a workaround.
It is impossible to patch PyPI package pysnmp at this moment.
You can try the package pysnmp-lextudio 5.0.22. More details can be found in #429.
You might close this issue if my answer helps. The repo owner passed away, so closing new issues here can help clean up the list.