We know that Python is required to run platformio. But why is it added to the global PATH variables?
There are a lot of programs that needs python to run (two that cames to my mind: KiCad e FreeCAD) but these program won’t add the python PATH to your system PATH. This behaviour isn’t error-free the user could have multiple PATH to python and could inadvertitely run platformio’s python and ruin the packages without noticing or the user could also uninstall python.
Can platformio index internally it’s python without adding it to the system path?
Example for windows:
and for pip: