json_schema_generator
json_schema_generator copied to clipboard
No module named json_schema_generator
I am new in python. I don't know how to solve this.
I am trying to execute the following command python jsonschema_generator.py record example_movie.json schema_movie.json_schema
But I am getting the following error.
Traceback (most recent call last):
File "jsonschema_generator.py", line 9, in
I executed the above command after navigating in bin folder. Please help me out
Now I am getting the following error
File "jsonschema_generator.py", line 9, in
What should I need to do for resolving this bug ?
This should be resolved if you used pip to install json schema generator. There is a dependency on jsonschema. Let me know if this is still happening.
If you didn't, you should be able to work around this by passing in PYTHONPATH
, e.g. from repo root: PYTHONPATH=. python3 bin/jsonschema_generator.py [...]