Thanks, I managed to build and install python-lxml 2.6.27
But calibre still fails. I reran 'sudo calibre_postinstall'...
PHP Code:
sudo calibre_postinstall
Trying to setup udev rules...
* Restarting Hardware abstraction layer hald [ OK ]
Setting up bash completion... failed
Traceback (most recent call last):
File "build/bdist.linux-i686/egg/calibre/linux.py", line 172, in setup_completion
File "build/bdist.linux-i686/egg/calibre/gui2/lrf_renderer/main.py", line 18, in <module>
File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 17, in <module>
File "build/bdist.linux-i686/egg/calibre/library/database2.py", line 19, in <module>
File "build/bdist.linux-i686/egg/calibre/library/database.py", line 11, in <module>
File "build/bdist.linux-i686/egg/calibre/ebooks/metadata/meta.py", line 12, in <module>
File "build/bdist.linux-i686/egg/calibre/ebooks/metadata/lit.py", line 12, in <module>
File "build/bdist.linux-i686/egg/calibre/ebooks/lit/reader.py", line 13, in <module>
ImportError: No module named lxml
Traceback (most recent call last):
File "/usr/bin/calibre_postinstall", line 8, in <module>
load_entry_point('calibre==0.4.108', 'console_scripts', 'calibre_postinstall')()
File "build/bdist.linux-i686/egg/calibre/linux.py", line 446, in post_install
File "build/bdist.linux-i686/egg/calibre/linux.py", line 318, in setup_completion
UnboundLocalError: local variable 'manifest' referenced before assignment
Its like lxml is installed, but maybe not registered with python (or maybe linux).
Do you have any ideas please?