I originally asked this on SO and it got nothing, so hopefully this is a more direct way of getting some help.
I am attempting to run a simple python script within my .net application using IronPython. I have installed the nuget package into the project (I have NOT installed the ironpython cli on my machine) and have authored this code to handle setting paths, reading output, and setting input.
Executing the script results in the following exception
My C# project has references to the following relevant (to IronPython) assemblies:
- IronPython (v2.7.9)
My paths appear to be well enough set for my purposes as it's not the import of jinja2 itself that causes the error and I am able to import some standard library modules. However, I've seen that the 'os' package fails to import for the same reason as jinja2. I also cannot import errno directly as expected, but I can import it directly if I run it via the python 2.7 cli so the package is installed.
I'm very much out of ideas here if anyone has any suggestions.