Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How should we install internal python packages while running bitbucket pipeline?

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. Screen Shot 2017-08-17 at 7.57.44 PM.png

1 answer

0 votes



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?



@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?

Like Diego Fioravanti likes this

So the answer was

  1. In the project you are working on go to Settings -> Pipelines -> SSH Keys and generate a new key
  2. Go to the repository of the package you wish to install and under the main Access Keys paste the key that you just created.
  3. In the YML file use pip install git+ssh://

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?

Why do you have to change the local git user you shouldn't need to as you're adding a new SSH key to use projects on Bitbucket directly to the project not to a user?

You can still clone locally and use your own SSH key to authenticate as I'm doing exactly that.

Suggest an answer

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

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

493 views 5 4
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