mbj4668 / pyang

An extensible YANG validator and converter in python
ISC License
537 stars 344 forks source link

Not generating the yang module to jsonschema #873

Closed rahul12130 closed 1 year ago

rahul12130 commented 1 year ago

pyang --plugindir ../ -f jsonschema ./test-module.yang > test-module.jsonschema Traceback (most recent call last): File "/home/abcd/pyang/bin/pyang", line 4, in from pyang.scripts.pyang_tool import run File "/home/abcd/pyang/pyang/scripts/pyang_tool.py", line 9, in from pathlib import Path ImportError: No module named pathlib

getting import error

mbj4668 commented 1 year ago

This seems to be a python problem. pathlib is a standard python module.