Change Python interpreter in pycharm
Refrence: https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html#add-existing-interpreter Modify a Python interpreter: Open the IDE settings > select Project <project name> | Python Interpreter > Expand the list of the available interpreters and click the Show All link. > Select the target interpreter and click Edit > specify an alternative interpreter name for the selected interpreter. > Click OK to apply the changes.
Source: www.jetbrains.com