[Python.NET] running .net with standard 2.4.1 installation
Brian Lloyd
brian at zope.com
Tue May 31 15:51:04 CEST 2005
I'm pretty sure that Python.Runtime.dll will need to be in the
same directory as your python.exe (because of .NET assembly
probing rules). The CLR.dll can probably be either in the
DLLs directory or in the root directory with python.exe.
Brian Lloyd brian at zope.com
V.P. Engineering 540.361.1716
Zope Corporation http://www.zope.com
> -----Original Message-----
> From: pythondotnet-bounces at python.org
> [mailto:pythondotnet-bounces at python.org]On Behalf Of Guy Robinson
> Sent: Sunday, May 29, 2005 10:22 PM
> To: pythondotnet at python.org
> Subject: [Python.NET] running .net with standard 2.4.1 installation
>
>
> 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 at python.org
> http://mail.python.org/mailman/listinfo/pythondotnet
>
More information about the PythonDotNet
mailing list