View Single Post
Old 04-03-2014, 04:59 AM   #1
favour
Junior Member
favour began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2014
Device: all
No module named icu

My Os is centos.
I want to install calibre on source, but I face some questions.
How Can I Do? Thank ALL!
[root@localhost calibre]# sudo python setup.py develop
Dropping privileges to those of root: 0
Hello, world11!
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/xuliyuan/calibre/setup/__init__.py", line 181, in run_all
self.run_cmd(self, opts)
File "/home/xuliyuan/calibre/setup/__init__.py", line 173, in run_cmd
cmd.pre_sub_commands(opts)
File "/home/xuliyuan/calibre/setup/install.py", line 127, in pre_sub_commands
import calibre.utils.config as c
File "/home/xuliyuan/calibre/src/calibre/__init__.py", line 23, in <module>
from calibre.startup import winutil, winutilerror
File "/home/xuliyuan/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/xuliyuan/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/xuliyuan/calibre/src/calibre/ptempfile.py:27: RuntimeWarning: Parent module 'calibre' not found while handling absolute import
import shutil
favour is offline   Reply With Quote