On 8/20/2023 3:23 PM, Christian Huitema via mbed-tls wrote:
Hello,
I am trying to build MbedTLS on a Mac, as part of a project to support MbedTLS in the "picoquic" implementation of QUIC. I have a small problem, probably something of my making. I have cloned the repo on an "mbedtls" directory, created a "build" subdirectory, and from there run"cmake ..", which worked fine, and then tried to run "make", which fails in "generating psa_crypto_driver_wrapper.c" when trying the python script "generate_driver_wrappers.py" because it cannot find the python module "jsonschema".
I tried to solve that by installing that module using "pip", and test programs running python3 do find the "jsonschema". Calling print(jsonschema.__file__) shows the module is installed in my user directory: /users/christianhuitema/Library/python3.9/lib/python/...
Is there a simple way to fix that?
Found it. Instead of running "python3 -m pip install jsonschema" I should run "python3.10 -m pip install jsonschema". Sorry for bothering the list.
-- Christian Huitema