[Python.NET] System.Data.dll

Brian Lloyd brian.d.lloyd at gmail.com
Thu Mar 30 22:25:28 CEST 2006

Hi all --

It turns out that the lookup behavior appears to be different between 1.xand
2.x, in that 1.x was willing to look in the runtime install directory for
assemblies but 2.x is not.

You can work around this for now by adding the CLR runtime directory to
sys.path, e.g.:


The runtime dir will get added to sys.path for you automatically in the next
(2.x-compatible) release.


On 3/27/06, f.kintzel <f.kintzel at internet-access.de> wrote:
> Hi,
> I could not import System.Data too. The reason seems to be that the file
> System.Data.dll cannot be found by python.
> After copying it from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\  to
> the working directory and it worked fine.
> best regards,
> Florian
> _________________________________________________
> Python.NET mailing list - PythonDotNet at python.org
> http://mail.python.org/mailman/listinfo/pythondotnet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythondotnet/attachments/20060330/40490612/attachment.htm 

More information about the PythonDotNet mailing list