#30277: py27-libxml2 2.7.8_0 build error ----------------------------------+----------------------------------------- Reporter: lucaghera8@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: lion | Port: py27-libxml2 ----------------------------------+----------------------------------------- Comment(by lucaghera8@…): Hi, thanks for your help. I tried to run what you said in my shell. This is the result: {{{ macbook-di-luca:Desktop luca$ python Python 2.7.2 (default, Jul 21 2011, 10:46:54) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import xml.sax parser = xml.sax.make_parser() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/sax/__init__.py", line 93, in make_parser raise SAXReaderNotAvailable("No parsers found", None) xml.sax._exceptions.SAXReaderNotAvailable: No parsers found }}}
To be noticed that I didn't create a file with the commands. I directly entered them from the shell. I'm not sure this is what you mean in your previous message. Sorry but I'm not used to python, I've to setup it for a dependency. Thanks, Luca -- Ticket URL: <https://trac.macports.org/ticket/30277#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS