ImportError: /usr/lib/python3.11/lib-dynload/_contextvars.cpython-311-x86_64-linux-gnu.so: undefined symbol: PyContextVar_Type.
thanks for help
---
code
import json
from jsonschema import validate
from jsonschema.exceptions import ValidationError
with open("./recipes.json") as f:
document = json.load(f)
with open("./recipes_schema.json") as f:
schema = json.load(f)
try:
validate(instance=document, schema=schema)
print("Validation Succeeded!")
except ValidationError as e:
print('Validation failed !')
print(f"Error message: {e.message}")