Why can I get NumPy and SciPy working under IronPython?
The short answer is http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=11333. Both NumPy and SciPy make heavy use of Python extension modules (i.e., modules with a .pyd extension) to speed up certain calls. Python extension modules in turn are C/C based libraries that CPython understands and can expose to real Python scripts (i.e., files with a .py extension) as native Python. IronPython cannot currently import these C/C libraries as IronPython is implemented in C#. It’s actually a bit more complicated than this but hopefully you get the idea. The good news is that http://www.resolversystems.com has announced they will be working on an IronPython add-in to support CPython extension modules – see http://www.resolversystems.com/news/?p=17 for the announcement. There are also a couple more options: • you can also utilize Python for .NET with CPython to access .NET libraries from Python code.
The short answer is http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=11333. Both NumPy and SciPy make heavy use of Python extension modules (i.e., modules with a .pyd extension) to speed up certain calls. Python extension modules in turn are C/C++ based libraries that CPython understands and can expose to real Python scripts (i.e., files with a .py extension) as native Python. IronPython cannot currently import these C/C++ libraries as IronPython is implemented in C#. It’s actually a bit more complicated than this but hopefully you get the idea. The good news is that http://www.resolversystems.com has announced they will be working on an IronPython add-in to support CPython extension modules – see http://www.resolversystems.com/news/?p=17 for the announcement. There are also a couple more options: • you can also utilize Python for .NET with CPython to access .NET libraries from Python code.