Hi all --

It turns out that the lookup behavior appears to be different between 1.x and 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.:

sys.path.append('C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727')

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

-Brian

On 3/27/06, f.kintzel <f.kintzel@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@python.org
http://mail.python.org/mailman/listinfo/pythondotnet