In <[email protected]> loial
<[email protected]> writes:
> What has been working for years suddenly has an error :
> zipimport.ZipImportError: can't find module 'mymodule'
How is the shell script executed? Is it run interactively, or from a cron
job?
Are the permissions on the zipfile correct, and all parent directories?
How, specifically, are you importing the module? Are you doing something
like this:
zipfile = zipimport.zipimporter('file.zip')
zipfile.load_module('mymodule')
--
John Gordon A is for Amy, who fell down the stairs
[email protected] B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
--
https://mail.python.org/mailman/listinfo/python-list