Description
nuget packages
a) 2.3.0-py35-dotnet
b) python 3.5.4 (64 bit).
I was able to get install both nuget packages. This pythondotnet package seems to look for a python35.dll, So I had to install 3.5.4. This is a 64 bit project targetting .NET 4.5
I set the path variables both PythonHome and PythonPath.
The code just abruptly exits at the Py.GIL() line, I tried looking at nuget issues here but no luck.
Code Snipped below
PythonEngine.PythonHome = @"..\..\..\..\packages\Python.3.6.2\tools\";
PythonEngine.PythonPath = @"..\..\..\..\packages\Python.3.6.2\tools\";
using (Py.GIL()) ----> code Exits here with error code 3.
If I debug the PythonEngine variable, I see that it has the correct path and picks up the correct version and there is a error message under delegatemanager, which says delegate manager has not been initialized.
I tried to use the PythonEngine.Initialize() method and the progam Exits.
What could the issue be here ?
Thanks