我按照IronPython的说明安装了Enthought的NumPy implementation。非致命IronPython NumPy异常
似乎一切工作,包括import numpy
和import scipy
,但其在IronPython的程序这些语句会导致以下情况除外:
A first chance exception of type 'System.Collections.Generic.KeyNotFoundException' occurred in IronPython.dll
A first chance exception of type 'System.MissingMemberException' occurred in Microsoft.Dynamic.dll
A first chance exception of type 'System.MissingMemberException' occurred in IronPython.dll
A first chance exception of type 'IronPython.Runtime.Exceptions.TypeErrorException' occurred in Snippets.debug.scripting
如何解决这些例外?
看起来它可能是我的IronPython版本:2.7.2.1,因为numpy是为特定的ipy版本构建的。 – 2012-04-05 21:55:22
我已经降级到IronPython 2.7,但是在VS2011中抛出了相同的异常并且启动需要10秒。太长了。 – 2012-04-06 09:06:54