This tutorial explains How to configure a Python interpreter in PyCharm tutorials
Two ways we can do this.
- Global configuration: This applies to all projects created in PyCharm IDE
- Project Level Configuration: Apply and change the python interpreter at the project level.
Globally configuration to change Python interpreter
- Open PyCharm editor, and open or create a Project

- Open File and Select
Settings,

- It opens the Settings window
- Select Python project
