No python at '\python.exe'

soyeon Kim picture soyeon Kim · Jun 24, 2019 · Viewed 14.8k times · Source

No Python at 'C:\Users\~~~~\python.exe' error keeps coming out.. Even if I deleted my previous python and path, the file location is where I installed my previous python...

I want to use python in VS code and cmd on windows 10.

What I tried to fix it

  1. deleted python 3.7 version and reinstalled python 3.6 version.

  2. removed previous python 3.7 path and added python 3.6 version reinstalled to the Windows Path variable.

  3. remove ';' on windows path variable.
  4. put ';' on windows path variable.
  5. delete and reinstall python on vscode Extensions

Answer

Altay Hunoğlu picture Altay Hunoğlu · Feb 17, 2020

If you use venv, then look in that file: pyvenv.cfg