List<ExecutionException> (@NotNull ProgressIndicator indicator) { final List<ExecutionException> exceptions = new ArrayList<>(); final PyPackageManager manager = PyPackageManagers.getInstance().forSdk(mySdk); indicator.setText(PyBundle.message("python.packaging.installing.packaging.tools")); indicator.setIndeterminate(true); try { manager.installManagement(); } catch (ExecutionException e) { exceptions.add(e); } manager.refresh(); return exceptions; }