Skip to content

Commit 4621457

Browse files
committed
Better detection of Conda environments
1 parent 7b174c7 commit 4621457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PythonForDelphi/Components/Sources/Core/PythonVersions.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ function TPythonVersion.GetSysArchitecture: string;
198198

199199
function TPythonVersion.Is_conda: Boolean;
200200
begin
201-
Result := FileExists(IncludeTrailingPathDelimiter(InstallPath) + 'scripts\conda.exe');
201+
Result := DirectoryExists(IncludeTrailingPathDelimiter(InstallPath) + 'conda-meta');
202202
end;
203203

204204
function TPythonVersion.Is_venv: Boolean;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy