pip3 install mysqlclient
Collecting mysqlclient
Using cached https://files.pythonhosted.org/packages/f4/f1/3bb6f64ca7a429729413e6556b7ba5976df06019a5245a43d36032f1061e/mysqlclient-1.4.2.post1.tar.gz
Building wheelsforcollected packages: mysqlclient
Building wheelformysqlclient (setup.py) ... error
ERROR: Complete outputfrom command /Library/Frameworks/Python.framework/Versions/3.6/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/np/ctqs9s1n56v176z1v4j4_gsc0000gn/T/pip-install-v85uh_vq/mysqlclient/setup.py'"'"';f=getattr(tokenize,'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"','"'"'\n'"'"');f.close();exec(compile(code, __file__,'"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/np/ctqs9s1n56v176z1v4j4_gsc0000gn/T/pip-wheel-otcfaj8y --python-tag cp36:
ERROR: running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.6creating build/lib.macosx-10.9-x86_64-3.6/MySQLdb
copying MySQLdb/__init__.py -> build/lib.macosx-10.9-x86_64-3.6/MySQLdb
copying MySQLdb/_exceptions.py -> build/lib.macosx-10.9-x86_64-3.6/MySQLdb
copying MySQLdb/compat.py -> build/lib.macosx-10.9-x86_64-3.6/MySQLdb
copying MySQLdb/connections.py -> build/lib.macosx-10.9-x86_64-3.6/MySQ