Ubuntu9.10下安装openerp的问题
-
openerp实际上是可以运行在python2.6上的,只是因为ubuntu9.10将比较陈旧的python-xml包从源里删除了,而openerp目前可能还会依赖python-xml(以后会用lxml来代替),如果安装openerp在ubuntu9.10出现python-xml依赖错误,请安装附件中python-xml deb包。
-
实际验证(验证环境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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login