[Python.NET] Embedding Python Question

Phat Loc phat.loc at gmail.com
Thu Mar 15 21:59:18 EDT 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20180315/d542332f/attachment.html>


More information about the PythonDotNet mailing list