<div dir="ltr">probably you need CLR/.NET 4.0</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 20, 2014 at 6:37 AM, Hans Peter Jepsen <span dir="ltr"><<a href="mailto:hpj@lodam.com" target="_blank">hpj@lodam.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div>
<font face="Calibri"><span style="font-size:11pt">
<div>Hi</div>
<div> </div>
<div>I have a problem with <a href="http://python.net" target="_blank">python.net</a>.</div>
<div> </div>
<div>I have with py2exe build a few programs, that uses Python.NET. I have tried to run the programs build on 3 PCs.</div>
<div> </div>
<div>On 2 of PCs the programs run without problems. These PCs have Windows 7 Professional with Service Pack 1 (64bit). The programs are built on of these machines.</div>
<div> </div>
<div>On the 3<font size="1"><span style="font-size:7.3pt"><sup>rd</sup></span></font> PC I get this error message: </div>
<div> </div>
<div>Unhandled Exception: System.BadImageFormatException: Could not load file or assembly 'clr.pyd' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.</div>

<div>File name: 'clr.pyd'</div>
<div> </div>
<div>This PC has Windows XP Professional with Service Pack 2. Highest version of installed Microsoft.NET framework is 3.5.</div>
<div> </div>
<div>Version of Python.Net is pythonnet-2.0-Beta0-clr4.  Python version is 2.7.3.</div>
<div> </div>
<div>My questions now are:</div>
<ul style="margin:0;padding-left:36pt">
<li>What is the exact reason for the error message on 3<font size="1"><span style="font-size:7.3pt"><sup>rd</sup></span></font>  PC?</li><li>Is the any way to solve this problem.</li><li>If I am using a too new version of Python.NET, is there a version, that would work on all 3 PC?</li>
</ul>
<div> </div>
<div>I hope, that you can help me further?</div>
<div> </div>
<div> </div>
<div>Kind regards</div><span class="HOEnZb"><font color="#888888">
<div> </div>
<div>Hans Peter</div>
<div> </div>
</font></span></span></font>
</div>

<br>_________________________________________________<br>
Python.NET mailing list - <a href="mailto:PythonDotNet@python.org">PythonDotNet@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/pythondotnet" target="_blank">https://mail.python.org/mailman/listinfo/pythondotnet</a><br></blockquote></div><br></div>