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

Running python3 and pip commands in Bamboo using Remote Agent

Chong Jing Hong May 25, 2022

I have a remote agent dedicated to my Bamboo Build Plan. I want to run a python script, which requires pip installation of libraries before the script can execute. I've already added the pip and python executables into the remote agent's capabilities, as such:




Broken Links:


  - checkout:

      force-clean-build: 'false'

      description: Checkout Default Repository

  - script:

      interpreter: BINSH_OR_CMDEXE


        - pip install BeautifulSoup4

        - pip install lxml

        - pip install requests

        - python3


    - Python38

    - pip

But, when I run the pipeline, I get the error that pip and python3 are not recognised commands. Please help

1 answer

1 accepted

0 votes
Answer accepted
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 30, 2022

Hello @Chong Jing Hong

Your scripts are probably lacking %PATH% declaration. You can either use the full path for each pip and python3 binaries or use the following variable substitution:

- %bamboo_capability_system_builder_py_pip% install BeautifulSoup4
- %bamboo_capability_system_builder_py_pip% install lxml
- %bamboo_capability_system_builder_py_pip% install requests
- %bamboo_capability_system_builder_python_Python38%

More info:



Eduardo Alvarenga
Atlassian Support APAC

Chong Jing Hong May 31, 2022

Thanks @Eduardo Alvarenga !

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events