I'm trying to make some of my Python scripts callable from .NET. I've found out that IronPython is a good tool to accomplish this. So I've tried to use it, but now I have the following questions:
- How can I install packages to IronPython? My existing Python code uses them, so I need to get them installed. I've tried to follow this guide to install pip, but got
Process is terminated due to StackOverflowException.and haven't found a way to solve the issue. - Assuming I'll be able to install packages, is it still true that packages with C/C++ bindings cannot be used in IronPython? Because on the FAQ page is written that NumPy and SciPy can't be installed, but the page seems to be rather old.
- What about accessing Python code from other .NET code? The documentation page says that I have to use the DLR Hosting APIs, because assemblies compiled from IronPython are not CLS-compliant. But I can't get an idea how to make it work with packages.
- Maybe there is another way to call Python code from .NET?
Thanks in advance.