Installation requiring bitbucket login #108

richleland opened this Issue Mar 8, 2012 · 7 comments


None yet

3 participants


If I do a pip install riak I am prompted for a bitbucket login:

pip install riak
Downloading/unpacking riak
User for 
Operation cancelled by user
Storing complete log in /Users/rleland/.pip/pip.log

I started to dig in to see what's going on here. It doesn't appear to be a problem with the riak packaging. From what I've been able to discern from my pip logs there is an issue with the data that is currently on PyPI:

cat ~/.pip/pip.log
/Users/rleland/.virtualenvs/riak-testing/bin/pip run on Thu Mar  8 14:47:44 2012
Downloading/unpacking riak==1.3.0
  Getting page
  URLs to search for versions for riak==1.3.0:
  Getting page
  Getting page
  Could not fetch URL HTTP Error 404: Not Found (riak/1.3.0)
  Will skip URL when looking for download links for riak==1.3.0
  Getting page
  Could not fetch URL (from HTTP Error 401: UNAUTHORIZED
  Will skip URL when looking for download links for riak==1.3.0
Operation cancelled by user

Looking at that output it just appears that something is goofed on the PyPI end of things. I'm wondering if just re-running python sdist register upload will fix it up. Obviously I can't do that but let me know when you do and I'll test from my end.


I had the same issue so I spent a little bit of time to try and figure out what is going on. This is what I found out.

Pip looks at this page to find out what version to install:

It reads the page and starts parsing the links, and on that page it lists all of the versions in pypi: 1.0.0 to 1.3.0.

For releases up to 1.2.1 the home page was on bitbucket.

The page it is trying to get to is

if you curl that page:

$ curl -v

You get the unauthorized page, which prompts the bitbucket login.

If you go to that url in your browser it will redirect you to this page. telling you that this is a private repo and that it has moved to github.

So the way that you can fix this issue is to do the following.

  1. Login to pypi:
  2. On the upper right hand corner you should see a list of your packages, click on riak, the url will look something like this. This will take you to the Package 'riak' Editing page
  3. On this page you will notice all of the versions for riak that are installed in pypi. Click on the edit links for 1.0.0, 1.0.1, 1.1.0, and 1.1.1.
  4. This will take you to the page where you can edit the PKG-INFO for riak. Change the Home Page from bitbucket to
  5. At the bottom of the page click "add information" button
  6. repeat for the other versions until 1.0.0, 1.0.1, 1.1.0, and 1.1.1. all have the github home page.

Once this is done, it will take a little bit (not sure how long) but it will update the page and all of the bitbucket links will be gone.

once those links are gone, so will the bitbucket login during pip install.

Hope this helps,



@kencochrane Thanks for the information, I have fixed those links.

@seancribbs seancribbs closed this Apr 2, 2012

Thank you for fixing those links. Now we just need to wait until the PyPI mirrors are updated. unfortunately some are over 4 months out of date.


@kencochrane I suppose there's no way to effect that propagation?


I have submitted a ticket to see if they can get the mirrors updated.


@kencochrane You rock.


Down to only 1 mirror being out of date. I created a simple website to track the mirror statuses, so hopefully it won't be long now before they are all in sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment