Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket Pipeline ModuleNotFoundError

Saad Naveed
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 7, 2024
I get below error when running on Bitbucket Pipeline:
test/unit/test_utils.py:2: in <module>
from my_app.utils import hash_password
E ModuleNotFoundError: No module named 'my_app'

1 answer

1 vote
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 8, 2024

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events