Run and debug in pycharm are grayed out and cannot be clicked to run

        The un and debug buttons are gray after creating a new project in pycharm

        I don’t know the reason. Every time I open it, there is a progress bar in the lower right corner saying that it is building an index for all files.

        Pay attention to the configuration of the interpreter when starting a new project. I don’t like to use some integrated environment. I don’t think such a black box is used to it. Generally, only a pure python is installed. What library is needed? It’s really bad to take over a computer that someone else has used. , Not used to all kinds of things

        The interpreter is generally in File-Settings-Project-Python Interpreter Settings

Insert picture description here
       

Suggest

        When installing python, put all the files in a folder, it is best not to be too deep, (for example, mine is placed in the python folder under the root directory of D disk D:\python), the laboratory computer is not installed by me , I’m so annoying, I don’t dare to mess with the lab computer

Guess you like

Origin blog.csdn.net/qq_43657442/article/details/109276049
run