The following is only valid when Python Plugin is installed and enabled!

To configure a local python interpreter, follow these steps:
  1. Open the Project Structure dialog (e.g. ⌘;⌘;⌘;⌃⌥⇧S⌃⌥⇧S).
  2. In the Project Structure dialog, click the node SDKs, click ../../Shared/new.png, and from the popup menu, choose Python SDK:

    ../../Shared/ij_add_local_python_interpreter.png

  3. Select the desired interpreter location (local, remote etc.). In this case, choose Add local.
  4. In the Select Python Interpreter dialog box, click the desired Python executable.