[Python.NET] Embedding Python Question

Phat Loc <[email protected]> Thu, 15 Mar 2018 21:59:18 -0400
Newsgroups gmane.comp.python.dotnet
Message-ID <CADG6+0P7Z_=3kz+o_gddDe_BOixhmAbYQMiAA-TBUSbQ2NbBfw@mail.gmail.com>
Hi All,

I get a bunch of

Exception thrown: 'System.IO.FileLoadException' in mscorlib.dll

and the call never returns after

PythonEngine.Initialize();

PythonEngine.Exec("import IPython");


Any suggestions on how to debug it? If run  import IPython from the Console
app that comes with solution it works fine. Am I missing some settings when
I Initialize the PythonEngine vs Runtime.Py_Main? How do I determine what
is causing the error?


Thanks,


Phat

_________________________________________________
Python.NET mailing list - [email protected]
https://mail.python.org/mailman/listinfo/pythondotnet