推荐学习书目
› 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 · 4902 views
    This topic created in 3400 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
        1
    DeanThompson  
       Jun 26, 2017   ❤️ 1
    试一下这个

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