Upgraded to OSX 10.11 El Capitan, now cannot use MySQL with Python/Django

旧巷老猫 提交于 2019-12-04 07:08:28

Happened to me as well. I removed the package, installed mysql using Homebrew and then reinstall the package.

pip uninstall MySQL-python
brew install mysql
pip install MySQL-python

If you run into any issues with brew, be sure to check their troubleshooting page on El Capitan.

Thomas Philibert

View this post : MySQL Improperly Configured Reason: unsafe use of relative path

And if you have updated Xcode, open 1 time Xcode for agreement the licence.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!