[Python.NET] Calling Python functions/objects forom C# code

2013-06-24 Thread Avi Mitrani
Dear mailing list members, I'm new to PythonDotNet, and to integrating Python & C#, and I have to say that I'm 'breaking my teeth' with it; can't find the right examples on the web. The context: I want to use the rich machine learning resources found in python (like scikit-learn) inside

[Python.NET] Problem while importing lxml.html

2013-07-14 Thread Avi Mitrani
Hi, I have a module that works perfectly when I use the Python interpreter. When I try to import it from c# using PythonDotNet, it fails on the line "import lxml.html". the error message is: "Object reference not set to an instance of an object". "import lxml" works OK, but "import lxm