macOS pip3 install mysqlclient 报

2020-01-05  本文已影响0人  Vsign

浪费了一晚上时间解决了,记录一下希望有相同问题的朋友不会再因为这个问题浪费大量时间


(venv) ➜  datamanager LDFLAGS=-L/usr/local/opt/openssl/lib pip3 install mysqlclient
Collecting mysqlclient
  Using cached https://files.pythonhosted.org/packages/d0/97/7326248ac8d5049968bf4ec708a5d3d4806e412a42e74160d7f266a3e03a/mysqlclient-1.4.6.tar.gz
Installing collected packages: mysqlclient
    Running setup.py install for mysqlclient ... done
Successfully installed mysqlclient-1.4.6
(venv) ➜  datamanager

参考链接:
https://stackoverflow.com/questions/34617452/how-to-update-xcode-from-command-line
https://github.com/PyMySQL/mysqlclient-python/issues/131

上一篇下一篇

猜你喜欢

热点阅读