Question: how to configure a python interpreter in pycharm?
Answer: Press Ctrl+Alt+S to open the project Settings/Preferences. icon and select Add. In the left-hand pane of the Add Python Interpreter dialog, select System Interpreter. and in the Select Python Interpreter dialog that opens, choose the desired Python executable and click OK.