By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,743 Members | 1,122 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,743 IT Pros & Developers. It's quick & easy.

Importing from filesystem path a 'frozen sub-module' error

P: n/a
I've been working on a small test runner script, to accumulate my test
scripts (all python files in the 'test' sub-directories of my source tree).
Things were going well, but I'm still having trouble loading the modules,
once I have a path to the python source file. This is the error I am

mod_info = imp.find_module(module_name, module_path)
ImportError: No frozen submodule named PyInvolgo.test.test_RepoBase

I know 100% sure the module exists (I can enter a python shell and import it
directly, no problem), so that isn't the problem. I don't know what a
'frozen sub-module' is, tho, and I haven't been able to find anything about
them from google searches and documentation on

At first, I thought maybe it was because the test directory had no (it isn't a package, so I didn't make one), but added one made
no difference.
Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.