[Python.NET] Python 2.5

Lacko Roman rlacko at gratex.com
Wed Apr 11 13:56:59 CEST 2007


Hi,

A'm trying using PythonNET with Python 2.5

I have changed line in runtime.cs:
	internal const string dll = "python24";
to
	internal const string dll = "python25";

and succesfully recompiled the source, but when i try to import CLR,
following error occurs:
Traceback (most recent call last):
  File "D:\inews\pythonnetBinariesNet2.0\helloform.py", line 12, in
<module>
    import CLR.System.Windows.Forms as WinForms
ImportError: No module named CLR.System.Windows.Forms

But when running with python.exe build from PythonNET source it works
OK.

Please help,

And thank you for great extension to python and .Net

RomanL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythondotnet/attachments/20070411/cb53a35b/attachment.htm 


More information about the PythonDotNet mailing list