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
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