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 200f644 commit e5fe0d0Copy full SHA for e5fe0d0
DSPythonNet3/DSPythonNet3Evaluator.cs
@@ -327,7 +327,12 @@ internal static void InstallPython()
327
{
328
try
329
330
- Python.Runtime.Runtime.PythonDLL = Python.Included.Installer.PYTHON_VERSION + ".dll";
+ // First try the custom ways of supplying the python dll name (environment variables, or static API calls)
331
+ if (string.IsNullOrEmpty(Runtime.PythonDLL))
332
+ {
333
+ Runtime.PythonDLL = Python.Included.Installer.PYTHON_VERSION + ".dll";
334
+ }
335
+
336
Python.Included.Installer.SetupPython().Wait();
337
isPythonInstalled = true;
338
}
0 commit comments