In the name of God, the Most Gracious, the Most Merciful.
Peace be upon Muhammad and his holy family
Hello Everyone.
This problem occurs when you have not yet introduced Python to the PyCharm program (Python Path) and the desired path has not been specified. To do this, you can click on the Open File section from the File option and give Python and its path to the program. You need to introduce Python to Pycharm and specify the Python installation path and the output installation path, and then click Apply and OK. enter image description hereAfter this, you can easily run your files and commands.
Dr Edris Merufinia 25 Feb 2025-IR Iran