Python not found on Windows - Stack Overflow
stackoverflow.com › questions › 67933236Jun 11, 2021 · 0. I think your cmd prompt path and python path is not in same location. First check the python location on your PC. import os import sys os.path.dirname (sys.executable) If it is on D: or another location you have 2 options, you can delete and re-install python to C: or you can open cmd prompt from D: or related python path.