![]() |
#1 |
Junior Member
![]() 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 |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2014
Device: all
|
why?
why no man answer me?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85000000
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Try using the binary install, and setting
Code:
CALIBRE_DEVELOP_FROM=/path/to/source/code/ See: http://manual.calibre-ebook.com/develop.html Last edited by eschwartz; 04-08-2014 at 11:43 PM. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ImportError: No module named djvu | canadianjameson | Conversion | 12 | 04-01-2012 11:23 PM |
ImportError: No module named setup | pramodxyle | Development | 4 | 03-20-2012 12:41 AM |
Error on install: No module named PyQt4 | good_man | Calibre | 4 | 02-18-2011 03:10 PM |
ImportError: No module named profiles | ould | Calibre | 11 | 02-28-2009 07:25 PM |
ImportError: No module named pkg_resources | erik80 | Calibre | 3 | 08-02-2008 09:33 AM |