换了python3.5的解释器 依然没有解决问题 老师
build/temp.macosx-10.6-intel-3.5/_mysql.o -L/usr/local/mysql/lib -lmysqlclient -lssl -lcrypto -o build/lib.macosx-10.6-intel-3.5/_mysql.cpython-35m-darwin.so
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang' failed with exit status 1
----------------------------------------
Command "/Users/liuchen/py3/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/sq/t_khqq1s59zbts_2c1lbr_zh0000gp/T/pip-install-bhunu_d9/mysqlclient/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/sq/t_khqq1s59zbts_2c1lbr_zh0000gp/T/pip-record-7pfilp1n/install-record.txt --single-version-externally-managed --compile --install-headers /Users/liuchen/py3/bin/../include/site/python3.5/mysqlclient" failed with error code 1 in /private/var/folders/sq/t_khqq1s59zbts_2c1lbr_zh0000gp/T/pip-install-bhunu_d9/mysqlclient/