public static @NotNull String createVirtualEnv(@Nullable String condaExecutable, @NotNull String destinationDir,
                                                 @NotNull String version) throws ExecutionException {
    if (condaExecutable == null) {
      throw new PyExecutionException(PySdkBundle.message("python.sdk.conda.dialog.cannot.find.conda"), "Conda", Collections.emptyList(),
                                     new ProcessOutput());
    }

    final ArrayList<String> parameters = Lists.newArrayList("create", "-p", destinationDir, "-y", "python=" + version);

    PyCondaRunKt.runConda(condaExecutable, parameters);
    final String binary = PythonSdkUtil.getPythonExecutable(destinationDir);
    final String binaryFallback = destinationDir + File.separator + "bin" + File.separator + "python";
    return (binary != null) ? binary : binaryFallback;
  }
public static @NotNull String createVirtualEnv(@Nullable String condaExecutable, @NotNull String destinationDir,
                                                 @NotNull String version)