using python 2.7 instead of 2.6 for running calibre
I have two installation of python 2.6 and 2.7. The system bydefault return 2.6. How can i make calibre to use 2.7 instead of 2.6. Please help me with the following error:
[user]# ebook-convert Invoice_Template.pdf test.epub
1% Converting input to HTML...
InputFormatPlugin: PDF Input running
on /var/tmp/testCalibreFiles/Invoice_Template.pdf
Parsing all content...
Generating default TOC from spine...
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Creating EPUB Output...
67% Running EPUB Output plugin
Traceback (most recent call last):
File "site.py", line 58, in main
File "site-packages/calibre/ebooks/conversion/cli.py", line 331, in main
File "site-packages/calibre/ebooks/conversion/plumber.py", line 1177, in run
File "site-packages/calibre/ebooks/conversion/plugins/epub_output.py", line 179, in convert
File "site-packages/calibre/ebooks/oeb/transforms/rescale.py", line 17, in __call__
File "site-packages/calibre/ebooks/oeb/transforms/rescale.py", line 20, in rescale
File "site-packages/calibre/utils/magick/__init__.py", line 15, in <module>
RuntimeError: Failed to load ImageMagick: libXdmcp.so.6: cannot open shared object file: No such file or directory
|