[PyCrust] RE: [Pythoncard-users] Example of Zope in PyCrust
Brought to you by:
pobrien
From: Patrick K. O'B. <po...@or...> - 2002-02-20 22:11:57
|
I assumed I didn't need to mention this, but I guess I should have. Your suspicions are correct. Zope is compiled for Python 2.1, not 2.2. At least, not yet. So for now you need to launch PyCrust using Python 2.1 in order to be able to import Zope. Otherwise you'll get the dll mismatch error that you got. --- Patrick K. O'Brien Orbtech > There is always an awkward one isn't there. I think I may have > confounded this by running Python 2.2 on my machine (Windows > 2000, Zope 2.5.0, PyCrust 0.7 - from wxPython 2.3.2.1). > > When I add the zope home/lib/python to my path and "import Zope" > I get a pop up stating "The dynamic link library python21.dll > could not be found in the specified path " followed by the > contents of my %PATH%. So, I added "E:\\Work\\Zope\\bin" to my > path as well (the location of python21.dll) but that didn't solve > the problem. I'm presuming that this is because I launch pycrust > using Python 2.2 and that the dlls are somehow incompatible. Or, > I could just be doing something wrong. > > Regards, > Andy > > |