We have packages from our internal pip server that are used in the repository. How to install these packages while running the bitbucket pipeline.
Please find the attached screenshot of the error shown.
Hello,
Is your internal pip server somehow accessible via the public internet?
Here's how you can add a private git repository as a dependency. Maybe this can get your started on the right track? https://stackoverflow.com/questions/4830856/is-it-possible-to-use-pip-to-install-a-package-from-a-private-github-repository
Thanks,
Phil
@Philip Hodder - I know this is an old question but I've just hit this issue myself where I have a private pypi server with built packages from a git repo stored in Bitbucket that I need to use in the pipelines of another repository. The Pypi server is IP and username restricted and I don't want to make it public so I was wondering if there is another way to load private packages in directly into the caches or even by using the git+ version though since it's a private bit bucket repo as well will that even work or does pipeline run as the user making the commit?
So the answer was
pip install git+ssh://git@bitbucket.org/owner/repos.git
I like the answer, apart from the fact that I now have to change the git user locally whenever installing dependencies. How would I set it up so it works locally as well?
It looks like you're new here. Sign in or register to get started.