I am able to run a python script on a macOS device which has the following gcc version with Python.
However on a Ubuntu 18 machine, the following configuration is available
And on a Windows 10 machine, the following is available
How can the Python and GCC version mentioned in the first image be setup on my Windows or Ubuntu machine since my script has compile dependencies.