Cross-platform library, that lists available Python environments
foreach (var environment in PythonEnvironment.EnumerateEnvironments()
.Concat(CondaEnvironment.EnumerateCondaEnvironments())) {
Console.WriteLine(this.HomeOnly
? environment.Home?.FullName
: $"{environment.LanguageVersion?.ToString(2) ?? "??"}-{environment.Architecture?.ToString() ?? "???"} @ {environment.Home}");
}