PythonNet preview 2

Chema Cortés ch3m4 en ch3m4.org
Mar Ago 12 11:21:39 CEST 2003


kmilo escribió:
> Si tienes algun problema con la instalacion, me avisas.
> 
> PDT:
> una forma muy sencilla de instalar mono es usar los debs de:
> http://www.debianplanet.org/mono

Uso este repositorio, pero la versión (unstable) del mono que me instala 
es la 0.24

Con el enlace a libpython2.2.so, al ejecutar python.exe me produce una 
excepción:

Unhandled Exception: System.NullReferenceException: A null value was 
found where an object instance was required
in (unmanaged) 00 Python.Runtime.MethodBinder:.ctor ()
in <0x00046> 00 Python.Runtime.MethodObject:.ctor 
(string,System.Reflection.MethodInfo[])
in <0x00013> 00 Python.Runtime.TypeMethod:.ctor 
(string,System.Reflection.MethodInfo[])
in <0x00103> 00 Python.Runtime.TypeManager:InitMethods (intptr,System.Type)
in <0x0010e> 00 Python.Runtime.TypeManager:CreateType (System.Type)
in <0x00066> 00 Python.Runtime.TypeManager:GetTypeHandle (System.Type)
in <0x00032> 00 Python.Runtime.ExtensionType:.ctor ()
in <0x00010> 00 Python.Runtime.ModuleObject:.ctor (string)
in <0x000ce> 00 Python.Runtime.ImportHook:Initialize ()
in <0x00326> 00 Python.Runtime.Runtime:Initialize ()
in <0x0001c> 00 Python.Runtime.PythonEngine:Initialize ()
in <0x0002a> 00 .PythonConsole:Main (string[])


También lo he intentado en un win2k con mono 0.23, y no lo he 
conseguido, aunque estoy usando python2.3. De todos modos sólo tenía 
curiosidad. En cuanto tenga algo de tiempo me lo miraré más a fondo, 
aunque no quisiera tener que intalar el .NET

Gracias de todos modos,
Chema Cortés




Más información sobre la lista de distribución Python-es