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 "/tmp/build/.porg/venvs/3.12-d/bin/pyang", line 5, in <module>
from pyang.scripts.pyang_tool import run
File "/tmp/build/.porg/venvs/3.12-d/lib/python3.12/site-packages/pyang/scripts/pyang_tool.py", line 12, in <module>
from pyang import plugin
File "/tmp/build/.porg/venvs/3.12-d/lib/python3.12/site-packages/pyang/plugin.py", line 5, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
pkg_resources has been deprecated for a while now and was finally removed in 3.12 it seems.
The text was updated successfully, but these errors were encountered:
I ran into the same problem when my default venv was created with setuptools version 69.
When I upgraded it via pip install --upgrade setuptools to 72.2.0 it worked again.
pkg_resources
has been deprecated for a while now and was finally removed in 3.12 it seems.The text was updated successfully, but these errors were encountered: