HomeBrew can't install Python (at Mavericks)

When I try to put python in HomeBrew, there is no zlib error

$ brew install python
 (Omitted)
==> /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

I installed the XCode tool and it was installed successfully

xcode-select --install

Reference URL http://qiita.com/soramugi/items/aff9234b08ff1c3b4f46

Recommended Posts

HomeBrew can't install Python (at Mavericks)
Install pyenv from Homebrew, install Python from pyenv
I can't install python3 with pyenv-vertualenv
install python
I can't install scikit-learn in Python
Why can't I install matplotlib in python! !!
Install Python locally
Install NAOqi python
python at docker
Install Python Control
CentOS8 --Install --Python3
I wanted to install Python 3.4.3 with Homebrew + pyenv
Python: "[Errno 111] Connection refused" easy_install can't install pip
Install Python 3 on MacOS Catalina (with Homebrew only)
Install python on WSL
Install pip on Mavericks
How to install Python
Install Python on Pidora.
Install Scrapy on python3
homebrew python environment construction
Install Python on Mac
How to install python
Install Python 3 on Mac
Install python from source
Install Python3.4 on CentOS 6.6
Install Python Jupyter lab
Install python external library
I can't install Anaconda!
Install python (pyenv, pyenv-virtualenv)
Install Voluptuous with Python 2.5
Install python on windows
mac OS X 10.15.x pyenv Python If you can't install
Python PyTorch install tips
Install Python 2.7.3 on CentOS 5.4
Install python with pyenv
Install Python 3.3 on Ubuntu 12.04
Install the latest Python from pyenv installed with homebrew
Install Python 3.4 on Mac
Install Python 3.6 on Docker
Install Python (for Windows)
For those who can't install Python on Windows XP
[2020.8 latest] How to install Python
How to install Python [Windows]
Install Python 3.8 on RHEL 8 (AppStream)
Install watchdog on Windows + Python 3.3
Install Python and Flask (Windows 10)
Install Python environment with Anaconda
Install pygame on python3.4 on mac
Windows10: Install python dlib library
Install Python 3.8 on CentOS 7 (SCL)
Install external libraries with Python
Homebrew Python --Youtube Search Program
Install multiple versions of Python
Install pandas 0.14 on python3.4 [on Mac]
Install Python 3.7 and Django 3.0 (CentOS)
Install OpenCV on Ubuntu + python
Python --Install MySQLDB on EC2
Install Python 3.8 on CentOS 8 (AppStream)
Install Homebrew on Amazon Linux 2
[Python] Competitive template [At Coder]
[Python] [Chainer] [Windows] Install Chainer on Windows