Ask Your Question

Install Error: Can't download

asked 2012-10-17 02:58:58 -0600

finid's avatar

updated 2012-10-18 16:12:29 -0600

Evgeny's avatar

Attempting to install the dev version, and after cloning, and running "python2.7 develop", I got the following error:

error: Can't download 404 Not Found

Checking that website shows that only a tar.gz version of mock is available.

How can I tell it to download the tar.gz file instead?

edit retag flag offensive close merge delete


I can confirm this error during installation

Toms's avatar Toms  ( 2012-10-17 13:11:38 -0600 )edit

Is this one of those things were the installer is just tweaked to get a tar.gz instead of a zip file, or is it more complicated?

finid's avatar finid  ( 2012-10-17 15:21:46 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2015-03-12 12:13:50 -0600

W.F. Yang's avatar

updated 2015-03-15 10:51:48 -0600

  1. pip install mock
  2. python develop
edit flag offensive delete link more


Thanks for bringing this up. Handy for automation.

nongratis's avatar nongratis  ( 2015-08-03 19:10:15 -0600 )edit

answered 2012-10-18 16:23:35 -0600

Evgeny's avatar

This is strange, I can reproduce the error, but also find that repeating the "python develop" command takes you past this issue.

There is nothing we can do, one of the dependency modules requires mock library, which normally used only by the developers for testing the code.

Issues like this one may happen from time to time, because dependency modules are pulled from third party sites. It might be possible to set up an alternative module repository as a backup, but we don't have one now.

edit flag offensive delete link more

answered 2012-10-24 10:50:03 -0600

ReedHedges's avatar

I had the same problem, and running setup again, it worked.

Can you provide an askbot distribution that includes all the dependencies already so users don't have to keep downloading them for each installation? Then you can also test that it works with those depedency versions...

edit flag offensive delete link more


Reed, we might set up an alternative repository hosting for dependencies, but will not be just copying all the dependency code into the askbot repo, because it's just not the right way to do it. With mock the issue is on a third party site... I will try to contact the owner.

Evgeny's avatar Evgeny  ( 2012-10-24 11:04:45 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-10-17 02:58:58 -0600

Seen: 782 times

Last updated: Mar 15 '15