mkesper hat geschrieben:Both the IronPython interpreter and runtime are made of Microsoft Intermediate Language (MSIL), meaning that it is bytecode like all .NET programs. Therefore it requires the IronPython binaries and either the .NET Framework 2.0 (Windows) or Mono (*nix).
Siehe
http://www.ironpython.info/index.php/Deployment
Das wäre natürlich super, aber es fängt schon gut an
Code: Alles auswählen
IronPython 2.0 (2.0.0.0) on .NET 2.0.50727.1433
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.append("C:\\Python25\\Lib\\site-packages")
>>> import sympy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python25\Lib\site-packages\sympy\__init__.py", line 22, in C:\Python2
5\Lib\site-packages\sympy\__init__.py
File "C:\Python25\Lib\site-packages\sympy\core\__init__.py", line 4, in C:\Pyt
hon25\Lib\site-packages\sympy\core\__init__.py
File "C:\Python25\Lib\site-packages\sympy\core\basic.py", line 2497, in C:\Pyt
hon25\Lib\site-packages\sympy\core\basic.py
File "C:\Python25\Lib\site-packages\sympy\core\symbol.py", line 293, in C:\Pyt
hon25\Lib\site-packages\sympy\core\symbol.py
File "C:\Python25\Lib\site-packages\sympy\core\sympify.py", line 191, in C:\Py
thon25\Lib\site-packages\sympy\core\sympify.py
File "C:\Python25\Lib\site-packages\sympy\core\numbers.py", line 1641, in C:\P
ython25\Lib\site-packages\sympy\core\numbers.py
File "C:\Python25\Lib\site-packages\sympy\core\function.py", line 474, in C:\P
ython25\Lib\site-packages\sympy\core\function.py
File "C:\Python25\Lib\site-packages\sympy\core\function.py", line 79, in __new
__
TypeError: WildFunction: can only extend one CLI or builtin type, not both IronP
ython.NewTypes.System.Object_3$23_4$24 (for IronPython.NewTypes.IronPython.Runti
me.Types.PythonType_2$14) and IronPython.NewTypes.System.Object_3$23_4$24_8$49 (
for IronPython.NewTypes.IronPython.Runtime.Types.PythonType_2$14)
>>>
genau wie andersherum
Code: Alles auswählen
S:\>cd sympy-0.6.6
S:\sympy-0.6.6>"C:\Programme\IronPython 2.0\ipy.exe" setup.py install
Traceback (most recent call last):
File "setup.py", line 33, in setup.py
File "S:\sympy-0.6.6\sympy\__init__.py", line 22, in S:\sympy-0.6.6\sympy\__in
it__.py
File "S:\sympy-0.6.6\sympy\core\__init__.py", line 4, in S:\sympy-0.6.6\sympy\
core\__init__.py
File "S:\sympy-0.6.6\sympy\core\basic.py", line 2497, in S:\sympy-0.6.6\sympy\
core\basic.py
File "S:\sympy-0.6.6\sympy\core\symbol.py", line 293, in S:\sympy-0.6.6\sympy\
core\symbol.py
File "S:\sympy-0.6.6\sympy\core\sympify.py", line 191, in S:\sympy-0.6.6\sympy
\core\sympify.py
File "S:\sympy-0.6.6\sympy\core\numbers.py", line 1641, in S:\sympy-0.6.6\symp
y\core\numbers.py
File "S:\sympy-0.6.6\sympy\core\function.py", line 474, in S:\sympy-0.6.6\symp
y\core\function.py
File "S:\sympy-0.6.6\sympy\core\function.py", line 79, in __new__
TypeError: WildFunction: can only extend one CLI or builtin type, not both IronP
ython.NewTypes.System.Object_3$44_4$45 (for IronPython.NewTypes.IronPython.Runti
me.Types.PythonType_2$15) and IronPython.NewTypes.System.Object_3$44_4$45_8$68 (
for IronPython.NewTypes.IronPython.Runtime.Types.PythonType_2$15)
S:\sympy-0.6.6>