- Notifications
You must be signed in to change notification settings - Fork752
Segmentation Fault on PythonEngine.Initialize()#2480
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Environment
Details
No NET exception is thrown. It simply segfaults during initialization.
|
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment
-
I found the issue. No matter what I set the PATH, PYTHONHOME, PYTHONPATH, or PYTHONNET_PYDLL variables to during runtime, PythonEngine always tries to initialize it with the system python3 executable. In fact, even after modifying my PATH to point to the directory containing my desired python executable (before executing the C# code), it still defaults to the system python unless I create a symlink. Is there a way to configure the desired python during runtime? |
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #2479 on October 08, 2024 03:40.