You seem to have configured
python3 as your Python interpreter. You should only do that on Linux and Mac. On Windows the executable is
That’s true, I configured python 3. Thank you very much.
I still dont get a solution to this. I uninstalled python3 and installed python 2.7 but realised 2.7 has been disconnected. Do you know the exact link where I could download the right python. Thanks
Of course you are supposed to use the latest version of Python and not a historic 2.x version. It’s just that the Python version 3 executable for windows is named
python.exe while it’s
python3 for Unix and Mac.
So deinstall Python 2.x, install Python 3.10 and don’t configure VSCode, Coderunner etc. to call
python3 but leave the setting as is or restore the default