Install xml.sax

While trying to install CroosOver I get the following error…

> ./install-crossover-17.0.0.sh
install
Traceback (most recent call last):
  File "/home/ion/cxoffice/bin/cxtie", line 89, in <module>
    import cxtiemain
  File "/home/ion/cxoffice/lib/python/cxtiemain.py", line 6, in <module>
    import c4parser
  File "/home/ion/cxoffice/lib/python/c4parser.py", line 7, in <module>
    import xml.sax
ImportError: No module named xml.sax

When I try to download xml.sax from https://opensuse.pkgs.org/15.1/opensuse-oss/perl-XML-SAX-0.99-lp151.2.1.x86_64.rpm.html I get a

404 Not Found

Any suggestions would be appreciated.

Hi
Don’t download packages from a third party/unknown source…

They should be installed by default;


zypper se -i sax

S | Name               | Summary                             | Type   
--+--------------------+-------------------------------------+--------
i | perl-XML-SAX       | XML::SAX Perl Module                | package
i | perl-XML-SAX-Base  | Base class SAX Drivers and Filters  | package
i | perl-XML-SAX-Expat | SAX2 Driver for Expat (XML::Parser) | package

Not sure when it’s python your looking at a perl module?? You need to install python-xml…

When I saw the error I carelessly assumed xml.sax was missing. Incorrect. It had been installed properly at 15.1 installation. Installing python-xml cleared the problem. Many thanks.