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

前端 未结 12 2049
礼貌的吻别
礼貌的吻别 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条回答
  •  猫巷女王i
    2020-12-07 11:57

    I tried all the way from answers,that does't work for me.

    1. Just download mysql from https://dev.mysql.com/downloads/mysql/ and install in your mac. do not use brew install mysql

    2. install MySQL-python

      pip install MySQL-python  
      

    every thing done

提交回复
热议问题