Question: how to configure python interpreter to pycharm?
Answer: Changing the project interpreter in the project settings Open the Settings / Preferences dialog by pressing Ctrl+Alt+S or by choosing File | Settings for Windows and Linux or PyCharm | Preferences for macOS. Select Project <project name> | Project Interpreter. icon and select Show All. Select the target interpreter.