In <1e511b73-e984-459c-9311-778888bcd...@googlegroups.com> loial 
<jldunn2...@gmail.com> 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
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to