我正在尝试运行一个pythondjango项目,作为python的2.7版、django的1.8版和mysql的5.7版的必需版本,所以 安装MySQL-python 1.2.5版本,构建了一个轮子,它坏了,得到下面的错误
Building wheel for MySQL-python (setup.py) ... error
ERROR: Command errored out with exit status 1:
error: command 'cc' failed with exit status 1
我链接mysql@5.7版本,所以当我检查哪个mysql\u配置时,我得到的是/usr/local/opt/mysql@5.7/bin/mysql\u配置。
我已经尝试了大多数解决方案,我已经通过brew安装了mysql。你知道吗
在安装django之前,我尝试在virutal env中安装mysqlclient,但是当我尝试在venv中安装mysqlclient时 我也犯了同样的错误
Building wheel for mysqlclient (setup.py) ... error
ERROR: Command errored out with exit status 1:
error: command 'cc' failed with exit status 1
我不知道问题出在哪里,我对python还不熟悉。你知道吗
任何帮助都将不胜感激。你知道吗
目前没有回答
相关问题 更多 >
编程相关推荐