As books age, some of the resources used to create them get abandoned or simply don’t work right. Such is the case with Professional IronPython. There has been an ongoing conversation about NumPy and SciPy support for the product. In fact, you’ll find the first signs of trouble in my NumPy and SciPy Support in IronPython 2.7 post, followed by an update in NumPy and SciPy Support in IronPython 2.7 – An Update. At the time I uploaded those posts, Enthought was still engaged in producing a NumPy and SciPy library for IronPython. Recently, a reader notified me that the support is no longer available from Enthought—a problem that I’ve since verified.
Of course, my posts alerted to you issues with the Enthought library and things have only gotten worse from what I understand. As a result, I can’t even recommend you download and try the Enthought library an longer, unless you’re running an older version of IronPython and just happen to find a compatible version. There is a version on the SciPy site. However, when you review the FAQ on this site, you see this information related to .NET installations:
Does NumPy/SciPy work with IronPython (.NET)?
Some users have reported success in using NumPy with Ironclad on 32-bit Windows. The current status of Ironclad support for SciPy is unknown, but there are several complicating factors (namely the Fortran compiler situation on Windows) that make it less feasible than NumPy.
So, the chances of the SciPy installation working are relatively small. There are some additional sites you could try, but given that I haven’t actually tried them myself, I can’t guarantee success. Please contact the site owners if you have questions about their software. With this caveat in mind, you can try these locations:
- NumPy for .NET:https://github.com/numpy/numpy-refactor
- SciPy for .NET:https://github.com/jasonmccampbell/scipy-refactor
- Cython for .NET: https://bitbucket.org/jasonmccampbell/cython-for-ironpython
- FWrap extensions:https://github.com/jasonmccampbell/fwrap
If someone has actually tried these extensions and used them successfully, I’d really like to hear from them. It would be nice to have a working solution for the book. In the meantime, there is a message thread at https://mail.python.org/pipermail/ironpython-users/2014-May/017067.html that could provide helpful information about the situation. Anyone with book-specific questions should feel free to contact me at John@JohnMuellerBooks.com.