[Python.NET] PythonNet with Python 2.4
brian at zope.com
Thu Dec 9 20:04:54 CET 2004
> I am running Python 2.4.
> Tried using PyhonNetwith my existing python by copying
> python.runtime.dll and CLR.dll, but when import CLR, get error:
> System Error, Dynamic Module not initialized properly.
> Is it because incompatible with Python 2.4? Anyone use Python 2.4 with
The current build is based on Python 2.3. I've finally had some
nights to work on a b4 release in the last few weeks, and I
am tentatively planning to base that on 2.4 (or make a release
for each - its much less painful to do that now). Hopefully
I can post that in the next few days.
At any rate, 2.4 does appear to work fine (in that all the
unit tests pass and all the demos run).
<evil trick of the day>
If you're feeling lucky, you can go into your windows/system32
directory and make a *copy* of python24.dll named python23.dll.
The DllImports look up the dll by name, so that might fake them
out and get you running on 2.4 in the meantime. Don't do that
if you actually have 2.3 installed, of course ;)
</evil trick of the day>
Brian Lloyd brian at zope.com
V.P. Engineering 540.361.1716
Zope Corporation http://www.zope.com
More information about the PythonDotNet