V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · 4578 views
    This topic created in 3237 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   ·   Solana   ·   2871 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 13:23 · PVG 21:23 · LAX 06:23 · JFK 09:23
    ♥ Do have faith in what you're doing.