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.
|