Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cassandra/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
IronPython+;Mono错误-无法加载签名_Mono_Ironpython_Linux Mint - Fatal编程技术网

IronPython+;Mono错误-无法加载签名

IronPython+;Mono错误-无法加载签名,mono,ironpython,linux-mint,Mono,Ironpython,Linux Mint,尝试从Mono运行IronPython时,出现以下错误: wayne@arglefraster ~/Downloads/IronPython-2.7.3 ⚘ mono ipy.exe 19:19:23 Could not load signature of IronPython.Runtime.List:get_Item due to: Failed to load language 'IronPython 2.7': Could not load type 'Iro

尝试从Mono运行IronPython时,出现以下错误:

wayne@arglefraster ~/Downloads/IronPython-2.7.3 ⚘ mono ipy.exe              19:19:23
Could not load signature of IronPython.Runtime.List:get_Item due to: 
Failed to load language 'IronPython 2.7': Could not load type 'IronPython.Runtime.List' from assembly 'IronPython, Version=2.7.0.40, Culture=neutral, PublicKeyToken=7f709c5b713576e1'.
在这里闲逛,所以我找到了
MONO\u LOG\u LEVEL=debug
,并获得了相关信息

Mono: Assembly Loader probing location: '/usr/lib/System.Numerics.exe'.
Mono: The following assembly referenced from /home/wayne/Downloads/IronPython-2.7.3/IronPython.dll could not be loaded:
     Assembly:   System.Numerics    (assemblyref_index=5)
     Version:    4.0.0.0
     Public Key: b77a5c561934e089
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/wayne/Downloads/IronPython-2.7.3/).

Mono: Failed to load assembly IronPython[0xddd180]

Mono: Could not load file or assembly 'System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
Could not load signature of IronPython.Runtime.List:get_Item due to: 
Mono: gc took 520 usecs
Mono: Unloading domain ipy.exe[0x7faebd540cc0], assembly IronPython[0xddd180], ref_count=2

我如何才能让它工作?

结果是没有安装Numerics库:

wayne@arglefraster ~/Downloads/IronPython-2.7.3 ⚘ apt-cache search mono numerics
libmono-system-numerics4.0-cil - Mono System.Numerics library (for CLI 4.0)

wayne@arglefraster ~/Downloads/IronPython-2.7.3 ⚘ sudo apt-get install libmono-system-numerics4.0-cil  
然后它就走了