install dependencies in pipelines

Aleksandra Vercauteren
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 7, 2018

I am trying to implement the pipelines in my bitbucket repository, but the script fails when I try to install the dependencies (with pip install -r requirements.txt): some of the dependencies cannot be found (while running the command doesn't cause any problems on my local machine or my colleague's machine). I tried finding a solution on the web, and it looks like the problem might be due to the Docker image that is used in the pipelines (something along the lines of this: https://stackoverflow.com/questions/28668180/cant-install-pip-packages-inside-a-docker-container-with-ubuntu/35277904. Does anyone have any ideas on how to solve this? 

1 answer

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 3, 2018

Hi Aleksandra,

Can you copy in the error logs you're seeing?

The StackOverflow post you found doesn't seem to be related in this case. As that is in the context of *building* a Docker image, instead of Pip errors running inside of a Docker container.

Do you have any dependencies that require special auth to access? Have you set up / verified that those are configured correctly.

You can also try to run your build in a similar environment as pipelines by following the guide we have here: https://confluence.atlassian.com/bitbucket/debug-your-pipelines-locally-with-docker-838273569.html

Thanks,

Phil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events