TRYING to like python, but...

ahimsa consulting ahimsa at inext.co.za
Sat Feb 9 11:05:35 EST 2002


Hi Jim

I would suggest that you try the 2.2 build. I've used it for a while now and
although I am not an experienced/advanced programmer I have not come across
any of the problems you describe. Also the IDEStudio is a nice GUI if you
wanted one.

HTH

Andrew


> Message: 9
> From: "jimh" <jim at jim.jim>
> Subject: TRYING to like python, but...
> Date: Fri, 8 Feb 2002 13:46:56 -0800
> Organization: SSO-IT, Hewlett-Packard Co.
> To: python-list at python.org
>
> I untarred, configured and built python 2.1.2.  It all seems to be working
> fine.
>
> I wanted to try out the xml.dom stuff, so I looked over the Python Library
> Reference sections on xml.dom and tried one of the examples.  This is what
> happened:
>
>    xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
>
> Well, THAT'S helpful.
>
> Nothing in Setup about xml.dom or xml.sax, so I assume that Setup is ok.
> Besides, I WAS able to import and start using xml.dom.
>
> So I get online and start searching around for this error message.  Find
> some vague references to needing "expat" (whatever that is).  Ok, I
remember
> vaguely something about expat in Setup, so I go back to Setup and see that
> TO USE A STANDARD PYTHON LIBRARY, I need to DOWNLOAD ADDITIONAL code
(expat)
> from SOME PLACE ELSE.
>
> So I download it, compile it, update EXPAT_DIR in Setup to point to it
(just
> like the comments in Setup say).
>
> So I ./configure again, and Make again, and, guess what??? IT STILL
DOESN'T
> WORK!!!  (xmlparse.h: no such file).
>
> so PLEASE PLEASE PLEASE tell me that I don't really have to go through ALL
> OF THIS CONFUSING MESS just to get a STANDARD python library to work.
> (xml.dom IS in the "Python Libary Reference", but there is NO mention of
all
> these additional steps required to actually USE it).
>
> To be honest, if python is really this difficult to use, I am going to try
> something different.
>
> Someone please help me out here.
>
> Jim Haffey






More information about the Python-list mailing list