issue installing python 2.76 with homebrew on OSX mountain lion

376 views Asked by At

I am doing a clean install of homebrew , python on OSX mountain lion.

this is what i have done so far...

$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
$ brew doctor
$ brew install readline sqlite gdbm --universal

this is all working but now i try to install python..

$ brew install python --universal --framework

I now get this error..

$ brew install python --universal --framework
==> Downloading http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz
######################################################################## 100.0%
Error: SHA1 mismatch
Expected: 8328d9f1d55574a287df384f4931a3942f03da64
Actual: 36a06fba4c5de9cc7338b5ca01bed976f7088b7b
Archive: /Library/Caches/Homebrew/python-2.7.6.tgz
(To retry an incomplete download, remove the file above.)

I have deleted the file and tried again. Same error. Does anyone have an explanation for this ? am i missing something obvious?. Is it possible for me to force home brew to go back a python version?

Thanks.

1

There are 1 answers

1
Peter Eisentraut On BEST ANSWER

Try downloading the file manually using curl and/or wget, and then run sha1sum on it. Something might be falsifying the file as you download it.