“my_config.h” file not found when install mysql-python on osx 10.8

前端 未结 12 2048
礼貌的吻别
礼貌的吻别 2020-12-07 11:06

I face this problem when I want to install mysql-python on osx 10.8, it show error with \'my_config.h\' file not found.

Below is my running code:

sud         


        
12条回答
  •  我在风中等你
    2020-12-07 11:40

    Works well on macOS High Sierra:

    If you haven't already installed mysql: brew install mysql

    brew unlink mysql
    brew install mysql-connector-c
    brew link --overwrite mysql
    pip install MySQL-python
    

提交回复
热议问题