推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
gleymonkey
V2EX  ›  Python

Mac 下安装 mysqlclient 报错,请问如何解决,求助

  •  
  •   gleymonkey · Jun 24, 2017 · 4960 views
    This topic created in 3429 days ago, the information mentioned may be changed or developed.

    初学 django,打算连接本机的 mysql 数据库,但是 pip install mysqlclient 报错,如下:

    kkccQ.png

    4 replies  •  2019-05-09 15:13:39 +08:00
    DeanThompson
    DeanThompson
    Jun 26, 2017❤️1
    1
    试一下这个

    env LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib" pip install mysqlclient
    gleymonkey
    gleymonkey
    OP
    Jun 27, 2017
    2
    @DeanThompson 感谢,我试试
    Yunxiaoer
    Yunxiaoer
    May 9, 2019
    3
    还是么有成功
    Yunxiaoer
    Yunxiaoer
    May 9, 2019
    4
    @gleymonkey 你解决了吗 嘎嘎 好多年了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1861 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 15:51 · PVG 23:51 · LAX 07:51 · JFK 10:51
    ♥ Do have faith in what you're doing.