<span>I get below error when running on Bitbucket Pipeline:</span>
<span>test/unit/test_utils.py:2: in <module></span>
<span>from my_app.utils import hash_password</span>
<span>E ModuleNotFoundError: No module named 'my_app'</span>
G'day, @Saad Naveed
The error message "ModuleNotFoundError: No module named" typically happens when the module it tries to access can't be located. This is not a pipeline issue but rather your config.
I suggest checking the following documentation on the possible solution:
ModuleNotFoundError: no module named Python
ModuleNotFoundError: no module named Python Error [Fixed]
Regards,Syahrul
It looks like you're new here. Sign in or register to get started.