[ovs-discuss] python error while making a OVS 1.11

Ben Pfaff blp at nicira.com
Thu Sep 12 18:07:42 UTC 2013


On Thu, Sep 12, 2013 at 03:05:52PM +0300, Eugene Istomin wrote:
> Hello,
> 
> We have a python error while making a OVS 1.11:
> 
> [  145s] + make -j4
> [  145s] PYTHONDONTWRITEBYTECODE=yes PYTHONPATH=./python:
> $PYTHONPATH /usr/bin/python ./ofproto/ipfix-gen-entities ofproto/ipfix.xml > 
> ofproto/ipfix-entities.def
> [  145s] PYTHONDONTWRITEBYTECODE=yes PYTHONPATH=./python:
> $PYTHONPATH /usr/bin/python ./ovsdb/ovsdb-idlc.in annotate 
> ./vswitchd/vswitch.ovsschema ./lib/vswitch-idl.ann > lib/vswitch-idl.ovsidl.tmp
> [  145s] PYTHONDONTWRITEBYTECODE=yes PYTHONPATH=./python:
> $PYTHONPATH /usr/bin/python ./ovsdb/ovsdb-idlc.in -C . annotate 
> tests/idltest.ovsschema tests/idltest.ann > tests/idltest.ovsidl.tmp
> [  145s] Traceback (most recent call last):
> [  145s]   File "./ofproto/ipfix-gen-entities", line 13, in <module>
> [  145s]     import xml.sax
> [  145s] ImportError: No module named xml.sax

It looks like you should install xml.sax.  The Python library manual
seems to indicates that it is a standard part of Python.  Maybe you have
a stripped-down version installed.



More information about the discuss mailing list