Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


ModuleNotFoundError: No module named 'semver'


Hello! I'm running into an issue when "semver" package are installed in one of the step in the bitbucket-pipelines.yml, but upon running the python code I see the following error:


Traceback (most recent call last):
File "/opt/atlassian/pipelines/agent/build/<MyRepo>/", line 2, in <module>
import semver
ModuleNotFoundError: No module named 'semver'
In the requirements.txt, SemVer is set to: semver==2.13.0
Any thoughts?

1 answer

1 accepted

1 vote
Answer accepted
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 10, 2023

@Nozim Khodjaev hi. Try to install requirements in the same step where you run you script:


- step:
name: Test
- pip install -r requirements.txt
- python

Also check that the last supported python version is 3.7

Regards, Igor. 

Thanks a lot @Igor Stoyanov ! That worked. Not sure if a different python version was the culprit

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events