Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Running python3 and pip commands in Bamboo using Remote Agent


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

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

912 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you