You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am trying to run a python script in my Bamboo Pipeline. However I am getting the following errors:
> sudo: no tty present and no askpass program specified
> line 2: pip: command not found
> line 3: pip: command not found
Here is my bamboo.yaml file:
Broken Links:
tasks:
- checkout:
force-clean-build: 'false'
description: Checkout Default Repository
- script:
interpreter: BINSH_OR_CMDEXE
scripts:
- |-
sudo yum install python3-pip
pip install beautifulsoup4
pip install lxml
python broken_links.py
I suspect that the Bamboo environment does not have python. How do I know if my environment has python?
Hello @Chong Jing Hong
That's not Bamboo fault. You need to adjust your Operating system to make it work.
Make sure to:
Regards,
Eduardo Alvarenga
Atlassian Support APAC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.