<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Thanks Mike for valuable information.</DIV>
<DIV>&nbsp;</DIV>
<DIV>The python version is 2.3.5 that comes along with Zope.<BR></DIV>
<DIV>I am trying to use ZSI 2.0 [Zope Solera Interface] with my zope server to be able to utilize web services. During the installation of this package it looks for PyXML, so I downloaded PyXML and got stuck with issue. I have not researched which part of PyXML is needed in ZSI, but I will try to find out.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards</DIV>
<DIV>Sudesh</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><BR>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px"><FONT size=2 face=Tahoma>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Mike Brown &lt;mike@skew.org&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Sudesh Soni &lt;soni_sks@yahoo.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> xml-sig@python.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Tue, November 17, 2009 11:18:41 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [XML-SIG] PyXML installation in Zope2.8.5<BR></FONT><BR>PyXML has two 'extension' modules (modules written in C instead of Python):<BR><BR>_xmlplus.parsers.pyexpat (needed by PyExpat)<BR>_xmlplus.parsers.sgmlop (needed by sgmlop)<BR><BR>After they're built and installed, they become accessible as <BR>xml.parsers.pyexpat and xml.parsers.sgmlop, respectively.<BR><BR>You can't build Python C extension modules without a C compiler, and, for <BR>reasons we must just accept, it has to be the same compiler that was used to <BR>make the Python executable you're using.
 You apparently don't have the <BR>compiler you need installed. Maybe you don't have one at all. That's why you <BR>got the error message. The compiler you're being told you need is Visual <BR>Studio 6 / VC6, which is old but not free (officially). This also suggests <BR>you're using Windows, so it's probably worth mentioning whether you're using <BR>ActiveState's Python or the official <A href="http://python.org/" target=_blank>python.org</A> distribution, as it can make a <BR>difference when people try to help you.<BR><BR>But first I would take a step back and ask why you need PyXML.<BR>Which component of PyXML do you think you need, and why?<BR><BR>You mentioned Zope. AFAIK, PyXML is only needed for Martijn Faassen's "XPath <BR>Methods" product. That product relies on PyXML and the venerable 4Suite <BR>0.11.1. Is this why you're trying to get PyXML installed? You might be better <BR>off looking for a Zope product which gives you access to ElementTree,
 if not <BR>lxml.etree.<BR><BR>My ability to help you, in any case, is going to be limited. I just wanted<BR>to help you understand the error message and get you to explain more about<BR>what you're trying to accomplish.<BR><BR>Sudesh Soni wrote:<BR>&gt; The&nbsp;version of PyXML is 0.8.4<BR>&gt; Product - zope 2.8.5 final [python version - 2.3.5]<BR>&gt; I get following error when executing -<BR>&gt; <BR>&gt; python <A href="http://setup.py/" target=_blank>setup.py</A> build<BR>&gt; <BR>&gt; ============<BR>&gt; running build_ext<BR>&gt; error: Python was built with version 6 of Visual Studio, and extensions need <BR>&gt; to be built with the same version of the compiler, but it isn't installed.<BR></DIV></DIV><!-- cg16.c1.mail.mud.yahoo.com compressed/chunked Wed Nov 18 08:18:30 PST 2009 --></div><br>



      </body></html>