View Single Post
Old 03-18-2012, 12:26 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,447
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre has its own private copy of python. You will need to include those packages in the zip file, or add the path to them explicitly to sys.path in your calibre plugin before trying to import. Note that if the packages contain sompiled code, then they cannot be imported from zip files, in which case you will have to add the path to them to sys.path.

Last edited by kovidgoyal; 03-18-2012 at 12:32 PM.
kovidgoyal is offline   Reply With Quote