LoginSignup
4
4

More than 5 years have passed since last update.

HomeBrewでPythonがインストールできない(at Mavericks)

Posted at

HomeBrewでpython入れようとしたらzlibないよエラー

$ brew install python
(中略)
==> /usr/local/Cellar/python/2.7.3/bin/python -s setup.py --no-user-cfg install 
  File "/private/tmp/__UNKNOWN__-BJ7g/distribute-0.6.34/setuptools/command/bdist_egg.py", line 540, in make_zipfile
    z = zipfile.ZipFile(zip_filename, mode, compression=compression)
  File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/zipfile.py", line 681, in __init__
    "Compression requires the (missing) zlib module"
RuntimeError: Compression requires the (missing) zlib module

XCodeツールを入れたら無事インストールできました

xcode-select --install

参考URL
http://qiita.com/soramugi/items/aff9234b08ff1c3b4f46

4
4
0

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
  3. You can use dark theme
What you can do with signing up
4
4