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

pycharm open

  • Open File and Select Settings,

pycharm settings

  • It opens the Settings window
  • Select Python project

pycharm interpreter