I spent hours wrestling with that exact xud3.g5-fo9z Python error and completely failed to resolve it. I tried rebuilding my virtual environment, forcing pip upgrades, and rolling back dependencies, but the traceback kept looping to a broken build file. I eventually gave up and started a fresh environment.