private static int askToConfigureInterpreter(@NotNull Project project, @NotNull Sdk sdk) {
    final String sdkName = StringUtil.shortenTextWithEllipsis(sdk.getName(), 25, 0);
    final String text = PyPsiBundle.message("INSP.package.requirements.administrator.privileges.required.description", sdkName);
    final String[] options = {
      PyPsiBundle.message("INSP.package.requirements.administrator.privileges.required.button.configure"),
      PyPsiBundle.message("INSP.package.requirements.administrator.privileges.required.button.install.anyway"),
      CoreBundle.message("button.cancel")
    };
    return Messages.showIdeaMessageDialog(
      project,
      text,
      PyPsiBundle.message("INSP.package.requirements.administrator.privileges.required"),
      options,
      0,
      Messages.getWarningIcon(),
      null);
  }
private static int askToConfigureInterpreter(@NotNull Project project, @NotNull Sdk sdk)