Skip to content Skip to sidebar Skip to footer

Constant "ImportError: No Module Named..."

I'm kind of new on Python, and I'm trying to do some things but I keep having this 'ImportError: No module named ...' error (in different cases) Now I'm trying a tutorial of automa

Solution 1:

Require __init__.py file for every directory.

code
-__init__py
-mobydick
--__init__py
--word_counter.py
-tests_unittest
-__init__py
--test_unit_test.py

Post a Comment for "Constant "ImportError: No Module Named...""