You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.12.9/x64/bin/pyang", line 5, in <module>
from pyang.scripts.pyang_tool import run
File "/opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/pyang/scripts/pyang_tool.py", line 12, in <module>
from pyang import plugin
File "/opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/pyang/plugin.py", line 5, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
This is because
pkg_resources
is longer part of the standard Python library: see pkg_resources is deprecated and removed in Python 3.12.From the linked page,
pyang
should migrate to importlib.resources or, alternatively, declare a dependency onsetuptools
.The text was updated successfully, but these errors were encountered: