View Single Post
Old 03-31-2014, 05:13 AM   #1
fem
Member
fem began at the beginning.
 
fem's Avatar
 
Posts: 20
Karma: 10
Join Date: Mar 2014
Device: Onyx c65 Afterglow
failed to load icu

So I trie to install the git version of calibre and wanted to setup a development environment. I issued following command (as described in the INSTALL file)

Code:
sudo python setup.py develop
which fails with following error.

Code:
Traceback (most recent call last):
  File "setup.py", line 99, in <module>
    sys.exit(main())
  File "setup.py", line 85, in main
    command.run_all(opts)
  File "/home/billiau/git/calibre/setup/__init__.py", line 181, in run_all
    self.run_cmd(self, opts)
  File "/home/billiau/git/calibre/setup/__init__.py", line 173, in run_cmd
    cmd.pre_sub_commands(opts)
  File "/home/billiau/git/calibre/setup/install.py", line 127, in pre_sub_commands
    import calibre.utils.config as c
  File "/home/billiau/git/calibre/src/calibre/__init__.py", line 21, in <module>
    from calibre.startup import winutil, winutilerror
  File "/home/billiau/git/calibre/src/calibre/startup.py", line 178, in <module>
    from calibre.utils.icu import title_case, lower as icu_lower, upper as icu_upper
  File "/home/billiau/git/calibre/src/calibre/utils/icu.py", line 24, in <module>
    raise RuntimeError('Failed to load icu with error: %s' % err)
RuntimeError: Failed to load icu with error: No module named icu
/home/billiau/git/calibre/src/calibre/ptempfile.py:27: RuntimeWarning: Parent module 'calibre' not found while handling absolute import
  import shutil
if I just

Code:
dpkg --get-selections | grep libicu
I get this list:

Code:
libicu-dev					install
libicu44					deinstall
libicu48:amd64					install
libicu4j-4.4-java				install
libicu4j-java					install
I'm running ubuntu 13.10

Is there something I'm missing here? Do I explictely need libicu44?

wkr
fem is offline   Reply With Quote