pip install -U pip setuptools wheel
helped me. I found this solution in : https://github.com/pallets/markupsafe/issues/285
Using a jetson nano and python 3.9.6