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.