No python at '\python.exe'

21,095

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

Share:
21,095
Admin
Author by

Admin

Updated on July 09, 2022

Comments

  • Admin
    Admin almost 2 years

    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
  • ChampR
    ChampR about 4 years
    Works like a charm, only with a virtual env :)
  • Stockfish
    Stockfish over 3 years
    What do I have to do after looking into it? :)
  • Dimitar
    Dimitar over 3 years
    @Stockfish change home = C:/path/to/python/installed
  • MilanBogic
    MilanBogic over 2 years
    Sometimes it does not work when version upgrade, it is a good choice to reinstall package.