Before that
First download Python and configure environment variables
Win11python download and environment variable configuration
Text
Reference link:
Python learning notes – error: Please select a valid Python interpreter
Question
The following error occurs when running: Please select a valid Python interpreter
the English meaning of this sentence: “please select a valid Python interpreter”
In fact, it’s because you just downloaded pychar, and you haven’t done its basic configuration yet. The error is normal ~
Solution:
First, Download python (again)
Open the DOS command line window,
ah, with ~
Then, the parser selects the problem, opens settings (Ctrl + Alt + s) or file & gt; settings, and opens the configuration box, as shown in the following figure:
Just follow the steps:
The results are shown in the figure below:
Then you can!