<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt">This is a problem with the current installer for Python.NET: It doesn't have support for .NET 2.0.<br><br>You'll need to compile from source (which is quite easy) in order to get 2.0 support (and support for 2.0 DLLs)<br><br>Hopefully someone will have gotten around to fixing the ClrModule so that Python .NET will compile properly for 2.0.<br><div>&nbsp;</div><a href="http://www.urulive.com/blog/"><img src="http://dnijazzclub.com/grassroots/uru-live/01.gif"></a><br>Uru Live IRC Chat: <span style="font-weight: bold;">unreal.JustIRC.net #uru</span><br><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Chris Spencer &lt;chrisspen@gmail.com&gt;<br>To: pythondotnet@python.org<br>Sent:
 Tuesday, February 20, 2007 10:10:01 AM<br>Subject: Re: [Python.NET] Using Third Party C# Libraries<br><br><div>Yes, I have the .NET Framework SDK for both 1.1 and 2.0 installed.<br><br>On 2/20/07, Maksim Kozyarchuk &lt;mkozyarchuk@funddevelopmentservices.com&gt; wrote:<br>&gt;<br>&gt; Haven't seen this before.&nbsp;&nbsp;Sorry.<br>&gt;<br>&gt;<br>&gt; Do you have .NET 2.0 installed on your machine?<br>&gt;<br>&gt;<br>&gt; -----Original Message-----<br>&gt; From: Chris Spencer [mailto:chrisspen@gmail.com]<br>&gt; Sent: Tuesday, February 20, 2007 12:59 PM<br>&gt; To: Maksim Kozyarchuk<br>&gt; Cc: pythondotnet@python.org<br>&gt; Subject: Re: [Python.NET] Using Third Party C# Libraries<br>&gt;<br>&gt; I've copied SharpNeatLib.dll to C:\Program Files\PythonNet, C:\Program<br>&gt; Files\PythonNet\Lib, C:\Program Files\PythonNet\Lib\site-packages,<br>&gt; C:\Program Files\Python24, C:\Program Files\Python24\Lib, and<br>&gt; C:\Program
 Files\Python24\Lib\site-packages&nbsp;&nbsp;but it still raises that<br>&gt; exception "ImportError:&nbsp;&nbsp;cannot import name SharpNeatLib".<br>&gt;<br>&gt; Using Assembly.Load("SharpNeatLib.dll") raises a different exception:<br>&gt;<br>&gt; &gt;&gt;&gt; Assembly.Load('SharpNeatLib.dll')<br>&gt; Traceback (most recent call last):<br>&gt;&nbsp;&nbsp; File "&lt;stdin&gt;", line 1, in ?<br>&gt; CLR.System.BadImageFormatException: Version 2.0 is not a compatible<br>&gt; version.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;at System.Reflection.Assembly.nLoadImage(Byte[] rawAssembly, Byte[]<br>&gt; rawSymbol<br>&gt; Store, Evidence evidence, StackCrawlMark&amp; stackMark)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;at System.Reflection.Assembly.Load(Byte[] rawAssembly)<br>&gt;<br>&gt; Would this indicate that the SharpNeatLib.dll was built with a C#<br>&gt; compiler incompatible with what Python.Net was built with?<br>&gt;<br>&gt;
 Chris<br>_________________________________________________<br>Python.NET mailing list - PythonDotNet@python.org<br><a target="_blank" href="http://mail.python.org/mailman/listinfo/pythondotnet">http://mail.python.org/mailman/listinfo/pythondotnet</a><br></div></div><br></div></div><br>
                <hr size=1> <a href="http://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.intl=ca"><b>All new Yahoo! Mail - </b></a>
<hr size=1>Get a sneak peak at messages with a handy reading pane.</body></html>