实际验证(验证环境Redhat 企业版4.0),python2.6下,用源码可以安装openERP,唯一要修改的是pyXML包。修改如下:
PyXML
download sourceforge.net/projects/pyxml/files/pyxml/0.8.4/PyXML-0.8.4.tar.gz/download
由于Python2.6中as是保留字,修改下述代码中的as变量
xml/xpath/ParsedAbbreviatedRelativeLocationPath.py
L31,32: as -> aset
xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py
L27,28: as -> aset
xml/xslt/Stylesheet.py
L376,377: as -> aset
test/dom/html/test_map.py
L16,18: as -> aset
$ cd PyXML-0.8.4
$ python setup.py install