Python not installing on Ubuntu
When I try to install Calibre in Linux, using the instructions on the Calibre download page, I get the following. Can anyone tell me how to fix this?
root@terrania:/home/robotech/calibre# python setup.py install
Failed to run pkg-config: None for: poppler
Failed to run pkg-config: None for: poppler-qt4
Traceback (most recent call last):
File "setup.py", line 13, in <module>
import setup.commands as commands
File "/home/robotech/calibre/setup/commands.py", line 28, in <module>
from setup.translations import POT, GetTranslations, Translations, ISO639
File "/home/robotech/calibre/setup/translations.py", line 14, in <module>
from setup.build_environment import pyqt
File "/home/robotech/calibre/setup/build_environment.py", line 155, in <module>
popplerqt4_inc_dirs = poppler_inc_dirs + [poppler_inc_dirs[0]+'/qt4']
IndexError: list index out of range
|