More than 5 years have passed since last update.

posted at

Mac の pyenv で 2 系を入れるときに checksum エラーが起きたときの対処法

pyenv install 2.7.7

すると, checksum のエラーが出た.

checksum mismatch: setuptools-4.0.tar.gz (file is corrupt)

元々入れていた pyenv の version が古かったようだ.

Can't install python 2.7.2 on OS X 10.10 (Build Failed Problem - setuptools checksum fails) · Issue #203 · yyuu/pyenv

pyenv を upgrade する.

brew update
brew upgrade pyenv


pyenv install 2.7.7

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up