We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a20b191 commit 615522fCopy full SHA for 615522f
Source/PythonEngine.pas
@@ -4520,7 +4520,7 @@ procedure TPythonEngine.Initialize;
4520
'if sys.version_info > (3,11,0):'#13#10 + //1
4521
' import os'#13#10 + //2
4522
''#13#10 + //3
4523
- ' dllpath = os.path.join(sys.prefix, ''DLLs'')'#13#10 + //4
+ ' dllpath = os.path.join(sys.base_prefix, ''DLLs'')'#13#10 + //4
4524
' if dllpath not in sys.path:'#13#10 + //5
4525
' sys.path.insert(3, dllpath)'#13#10 + //6
4526
''#13#10 + //7
0 commit comments