View Single Post
Old 09-29-2014, 08:49 PM   #61
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,901
Karma: 6120478
Join Date: Nov 2009
Device: many
Hi,

Quote:
Originally Posted by mrmikel View Post
Would the path be calibre2/dlls in Windows?

I don't think you can actually use calibre's embedded python to be a general python interpreter release. Calibre's python strips out any libraries it doesn't need including the Tk gui libraries you would need to run DiapDealer's KindleImport and SmartenPunctuation plugins for Sigil.

In addition, I could not find any executable actually named python anyplace in the calibre.app distribution (at least on a Mac). I did find pre-compiled .pyo files and shared libraries (dlls on Windows) but no actual entry point called python.

There may be a way to trick it to work, but I don't know it. And even if you did, you would not be able to run any gui plugins. You would simply be better off installing a real Python interpreter. On Windows, I recommend the ActiveState ActivePython 2.7 community edition. It is free, comes with a nice installer, and can easily be uninstalled if you decide you do not want it.

Hope this helps,

KevinH

Last edited by KevinH; 09-29-2014 at 08:52 PM.
KevinH is offline