total newbie issue

Installed Python 3.12 on Windows 11 system, Installed pycharm 2024.3.3 (community edition).

tried to run it and got the following error message:

Error running 'welcome' Cannot run program "C:\Users\jkelchner. KOMAR\AppData\Local\JetBrains\PyCharmCE2024.3\demo\PyCharmLearningProject\.venv\Scripts\python. exe" (in directory "C:\Users\jkelchner. KOMAR\AppData\Local\JetBrains\PyCharmCE2024.3\demo\PyCharmLearningProject"): CreateProcess error=2, The system cannot find the file specified

is the issue that the python.exe file is two subdirectories below the PyCharmLearningProject directory? and if so do I move the welcome.py file down to the Scripts subdirectory?

Opened welcome.py and get Invalid Python interpreter selected for the project. I have no other interpreter, which makes me think I've got the wrong interpreter version?

If so which is the correct python version?

Thanks,

Joe

 

0
1 comment

Hello, Joe50kel ,

Please try adding a new project interpreter according to this procedure.

If the issue still observed, please share:

  • screenshot of the File | Settings | Project: <project name> | Python Interpreter, showing the full path to the python.exe being used.
  • screenshot of project structure

 

0

Please sign in to leave a comment.