对于客户,我必须在SUSE Linux Enterprise Server 11,64位(简称:SLES 11)上安装django网络服务器。如何在SLES 11,64位上安装python-lxml?
当我添加库从http://software.opensuse.org我可以安装python-LXML:
sudo zypper install python-lxml
的结果是,该网站-软件包安装在/usr/lib/python2.6/site-packages。但是,当我尝试使用该软件包时,导入崩溃:
$ cd /usr/lib/python2.6/site-packages
$ python2.6
..
>>> import lxml.etree
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: lxml/etree.so: wrong ELF class: ELFCLASS32
如何在SLES 11上正确安装python-lxml软件包?