I'm trying to deploy a flask api, I've experienced this issue before.
File "/usr/lib/python3.8/uuid.py", line 166, in __init__
hex = hex.replace('urn:', '').replace('uuid:', '')
I resolved it by modifying uuid.py to hex = str(hex).replace('urn:', '').replace('uuid:', '') but in this case I don't have permission to modify this file. I've also tried using a virtual environment and installing the uuid module but it didn't make a difference. Is there a work around?