Invalid decimal Literal in uuid.py

No that’s exactly what the installer script is supposed to do – create a Python environment isolated from your system’s python environment.

I see two possibilities: To run PlatformIO from your system’s python, update the uuid library so that it can be properly imported (pip3 install --upgrade uuid I guess), or remove the global PlatformIO installation again (pip remove platformio) and install it via the docs, then add it do your PATH.