[Python.NET] Uses PythonNet with current Python installation
Niki Spahiev
niki at vintech.bg
Sat Sep 25 15:31:10 CEST 2004
thane at magna-capital.com wrote:
> I’m not sure why, but copying the PythonNet DLLs (CLR.dll and
> Python.Runtime.dll) to a standard CPython installation directory, does
> not give the CPython “real” access to the CLR.
>
>
>
> Two observations:
>
> 1. The CLR modules don’t load on the first try (see output below), and
>
> 2. Running modules that require the CLR will sometimes fail (I’ll
> investigate this some more). I’ve written a .Net backend for
> matplotlib, which runs fine with the Python distribution from PythonNet
> (Brian’s distribution), but it crashes when the DLLs are in the CPython
> distribution from Python.org. I’m stumped… could it be related to the
> “loading delay” above?
>
>
>
> Any ideas?
IIRC one (and only one) of them should be in DLLs directory.
HTH
Niki Spahiev
More information about the PythonDotNet
mailing list