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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.