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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.