This is an old one but I'll follow up anyway... If you are using PythonWin for that test, you have to put a copy of Python.Runtime.dll in the same directory with pythonwin.exe, i.e. lib/site-packages/pythonwin.
The same is probably true for other shells / host applications. For example if you wanted to use .NET with AVPython, you would probably need a copy of Python.Runtime.dll in the same folder with arcview.exe. I haven't tried putting Python.Runtime in the GAC, but that might do the trick too. Bruce "Guy Robinson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I've put the CLR and runtime dll's in my standard windows > 2.4.1 installation and > I'm getting the following(see below) crash and error > information. It appears the > runtime dll isn't being found. Yet they're both in the > python/dll directory. I > did have the binary pythonDotNet installed. But have > uninstalled it. > > Can anyone shed some light on what's going on? > > Regards, > > Guy > > Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 > bit (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more > information. > >>> import CLR.System as System > > Unhandled Exception: System.IO.FileNotFoundException: File > or assembly name Pyth > on.Runtime, or one of its dependencies, was not found. > File name: "Python.Runtime" > at CLRModule.initCLR() > > === Pre-bind state information === > LOG: DisplayName = Python.Runtime, Version=1.0.0.0, > Culture=neutral, PublicKeyTo > ken=null > (Fully-specified) > LOG: Appbase = e:\python24\ > LOG: Initial PrivatePath = NULL > Calling assembly : (Unknown). > === > > LOG: Application configuration file does not exist. > LOG: Policy not being applied to reference at this time > (private, custom, partia > l, or location-based assembly bind). > LOG: Post-policy reference: Python.Runtime, > Version=1.0.0.0, Culture=neutral, Pu > blicKeyToken=null > LOG: Attempting download of new URL > file:///e:/python24/Python.Runtime.DLL. > LOG: Attempting download of new URL > file:///e:/python24/Python.Runtime/Python.Ru > ntime.DLL. > LOG: Attempting download of new URL > file:///e:/python24/Python.Runtime.EXE. > LOG: Attempting download of new URL > file:///e:/python24/Python.Runtime/Python.Ru > ntime.EXE. > > _________________________________________________ > Python.NET mailing list - > PythonDotNet@python.org > http://mail.python.org/mailman/listinfo/pythondotnet > _________________________________________________ Python.NET mailing list - PythonDotNet@python.org http://mail.python.org/mailman/listinfo/pythondotnet