<HTML><BODY>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
Hi:</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
I installed the "PyXml" package, and appear in the
"c:\Python24\Lib\site-packages" folder and i want to import a module of that
library from an external method:<BR>"import xml.dom.ext"</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
But i can't import from an external method any of the modules that are 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\site-packages" of a Python installation?</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">I
use Zope 2.7.6 <BR>for windows and Python2.4
("c:\Python24\Lib\site-packages" !)</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
The error that i get is:<BR>"<BR>Site Error<BR>An error was encountered
while publishing this resource. </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
Error Type: ImportError<BR>Error Value: No module named ext<BR>"<BR>and the
trace:<BR>"<BR>Traceback (innermost last):<BR> Module
ZPublisher.Publish, line 101, in publish<BR> Module ZPublisher.mapply,
line 88, in mapply<BR> Module ZPublisher.Publish, line 39, in
call_object<BR> Module Shared.DC.Scripts.Bindings, line 306, in
__call__<BR> Module Shared.DC.Scripts.Bindings, line 343, in
_bindAndExec<BR> Module Products.PythonScripts.PythonScript, line 323,
in _exec<BR> Module None, line 31, in callServiceResume<BR>
- <PythonScript at
/approach/SiccApproach/serviceResume/callServiceResume><BR> -
Line 31<BR> Module Products.ExternalMethod.ExternalMethod, line 216,
in __call__<BR> Module Products.ExternalMethod.ExternalMethod, line
157, in reloadIfChanged<BR> Module
Products.ExternalMethod.ExternalMethod, line 141, in getFunction<BR>
Module App.Extensions, line 148, in getObject<BR> -
__traceback_info__: ('C:\\Program
Files\\Zope-2.7.6-final\\Extensions\\proxyModule.py', 'proxyModule')<BR>
Module C:\Program Files\Zope-2.7.6-final\Extensions\proxyModule.py,
line 18, in ?<BR>ImportError: No module named ext<BR>"</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
Thanks in advance<BR>Leticia</DIV>
</BODY></HTML>