Can't install python mysql library on Mac Mavericks

前端 未结 2 1169
小鲜肉
小鲜肉 2020-12-13 11:08

It was working like a charm before the update from Mountain Lion.

After the update it is broken and I cannot get the environment up again.

Does anybody know

2条回答
  •  有刺的猬
    2020-12-13 11:39

    Building on Ned's answer:

    Since I don't want to use sudo to install packages (I am using virtual environments) or affect my golbal environment, I added the two variables to the single execution of pip install:

    CFLAGS=-Qunused-arguments CPPFLAGS=-Qunused-arguments pip install -r requirements.txt

提交回复
热议问题