[Python.NET] PythonNet with Python 2.4

2004-12-09 Thread kc cheng
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
PythonNet?
_
Python.NET mailing list - [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/pythondotnet


RE: [Python.NET] PythonNet with Python 2.4

2004-12-09 Thread Brian Lloyd
> 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
> PythonNet?

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).



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 ;)




Brian Lloyd[EMAIL PROTECTED]
V.P. Engineering   540.361.1716  
Zope Corporation   http://www.zope.com 


_
Python.NET mailing list - [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/pythondotnet