Segmentation Fault on PythonEngine.Initialize() #2480
ddaigle-dge
started this conversation in
General
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? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment
Details
--enable-shared
flag. To compile Python 3.11.3 I'm using the following commands:No NET exception is thrown. It simply segfaults during initialization.
Beta Was this translation helpful? Give feedback.
All reactions