I installed python3-jsonschema on clean debian stretch amd64 lxc container and could reproduce the issue
installing python3-pkg-resources fixes it:
# apt-get install python3-jsonschema
...
# jsonschema
Traceback (most recent call last):
File "/usr/bin/jsonschema", line 5, in <module>
from pkg_resources import load_entry_point
# apt-get install python3-jsonschema python3-pkg-resources
...
# jsonschema
usage: jsonschema [-h] [-i INSTANCES] [-F ERROR_FORMAT] [-V VALIDATOR]
schema
JSON Schema Validation CLI
positional arguments:
schema the JSON Schema to validate with
optional arguments:
-h, --help show this help message and exit
-i INSTANCES, --instance INSTANCES
a path to a JSON instance to validate (may be
specified multiple times)
-F ERROR_FORMAT, --error-format ERROR_FORMAT
the format to use for each error output message,
specified in a form suitable for passing to
str.format, which will be called with 'error'
for each
error
-V VALIDATOR, --validator VALIDATOR
the fully qualified object name of a validator
to use,
or, for validators that are registered with
jsonschema, simply the name of the class.
signature.asc
Description: OpenPGP digital signature

