This project has moved and is read-only. For the latest updates, please go here.

Installing NumPy for IronPython kills Visual Studio

Sep 1, 2012 at 3:52 AM

I am using VS 2010, IronPython (2.7.3 (IronPython 2.7.3 ( on .NET 4.0.30319.269 (32-bit))) and Python Tools for Visual Studio 1.5b1.
I tried installing NumPy and SciPy for IronPython using the instructions [here][1].
But this causes [this bug][2].
Is there a workaround now? The only solution obliquely hinted at in that bug tracker is that you should remove references to the IronPython DLL directory and then add explicit references to DLLs as required. Is this the recommended procedure? Is there a better workaround?



Sep 1, 2012 at 11:51 AM


Right, so if I remove the two DLLs I think are related to NumPy from the IronPython DLLs directory, "NpyAccessLib.dll", and "NumpyDotNet.dll", then I am able to reload and create Python projects (both of which actions caused VS to completely crash).

However, I am not able to follow the other part of dinov's suggestion and explicitly link them to my project. I tried clr.AddReferenceToFile. So now I am left in the unenviable position of having to work without NumPy. Any advice will be welcome.