protected static void reportPackageInstallationFailure(final @NotNull String frameworkName,
                                                         final @Nullable Pair<Sdk, ExecutionException> sdkAndException) {

    final PyPackageManagementService.PyPackageInstallationErrorDescription errorDescription =
      getErrorDescription(sdkAndException, frameworkName);
    final Application app = ApplicationManager.getApplication();
    app.invokeLater(() -> {
      PyPackagesNotificationPanel.showPackageInstallationError(PyBundle.message("python.new.project.install.failed.title", frameworkName),
                                                               errorDescription);
    });
  }
protected static void reportPackageInstallationFailure(final @NotNull String frameworkName,
                                                         final @Nullable Pair<Sdk, ExecutionException> sdkAndException)