The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events