<HTML><BODY>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
Thanks to Tino Wildenhain.<BR><BR>Tino Wildenhain wrote:<BR>> Zope on
windows is packaged with own and right version <BR>> of python, which is
2.3 for all current Zopes.<BR><BR>Zope on Debian (for example) too?<BR><BR>
<BR>-----Original Message-----<BR>From: Tino Wildenhain <<A
href="javascript:openWin('/WorldClient.dll?Session=KGMRJTZ&View=Compose&To=tino%40wildenhain.de&New=Yes','Compose',800,600,'yes');">
tino@wildenhain.de</A>><BR>To: Leticia Larrosa <<A
href="javascript:openWin('/WorldClient.dll?Session=KGMRJTZ&View=Compose&To=LETICIA%40tesla.cujae.edu.cu&New=Yes','Compose',800,600,'yes');">
LETICIA@tesla.cujae.edu.cu</A>><BR>Cc: <A
href="javascript:openWin('/WorldClient.dll?Session=KGMRJTZ&View=Compose&To=zope%40zope.org&New=Yes','Compose',800,600,'yes');">
zope@zope.org</A><BR>Date: Sun, 05 Jun 2005 23:13:06 +0200<BR>Subject: Re:
[Zope] Accesing python module<BR><BR>> Am Sonntag, den 05.06.2005, 16:39
-0400 schrieb Leticia Larrosa:<BR>> > Hi:<BR>> > I
installed the "PyXml" package, and appear in the "c:\Python24\Lib<BR>>
> \site-packages" folder and i want to import a module of that library<BR>
> > from an external method:<BR>> > "import xml.dom.ext"<BR>>
> But i can't import from an external method any of the modules that<BR>
> are<BR>> > in the "Lib\site-packages" folder of my python
instalation.<BR>> > Why can't import them?<BR>> > By default an
external method have acces to modules that are in "Lib<BR>> >
\site-packages" of a Python installation?<BR>> > I use Zope 2.7.6 <BR>
> > for windows and Python2.4 ("c:\Python24\Lib\site-packages" !)<BR>
> > The error that i get is:<BR>> ...<BR>> <BR>> Zope on
windows is packaged with own and right version <BR>> of python, which is
2.3 for all current Zopes.<BR>> <BR>> So you need to use the package
for python 2.3<BR>> and not 2.4. Next, since zope has own python,<BR>>
you either copy the module to zopes python<BR>> or change startzope.bat
to refer to your<BR>> installed python2.3.<BR>> <BR>> You cannot
just point to or use 2.4, since <BR>> zopes extension classes are
compiled for 2.3.<BR>> <BR>> <BR>> <BR>>
_______________________________________________<BR>> Zope maillist
- <A
href="javascript:openWin('/WorldClient.dll?Session=KGMRJTZ&View=Compose&To=Zope%40zope.org&New=Yes','Compose',800,600,'yes');">
Zope@zope.org</A><BR>> <A
href="http://mail.zope.org/mailman/listinfo/zope" target=_blank>
http://mail.zope.org/mailman/listinfo/zope</A><BR>> ** No cross
posts or HTML encoding! **<BR>> (Related lists - <BR>> <A
href="http://mail.zope.org/mailman/listinfo/zope-announce" target=_blank>
http://mail.zope.org/mailman/listinfo/zope-announce</A><BR>> <A
href="http://mail.zope.org/mailman/listinfo/zope-dev" target=_blank>
http://mail.zope.org/mailman/listinfo/zope-dev</A> )<BR>> <BR>> </DIV>
</BODY></HTML>