mysql_config not found when installing mysqldb python interface

前端 未结 30 1445
暗喜
暗喜 2020-11-22 06:56

I am trying to get a Python script to run on the linux server I\'m connected to via ssh. The script uses mysqldb. I have all the other components I need, but when I try to i

30条回答
  •  无人及你
    2020-11-22 07:23

    For macOS Mojave , additional configuration was required, for compilers to find openssl you may need to set:

    export LDFLAGS="-L/usr/local/opt/openssl/lib"
    export CPPFLAGS="-I/usr/local/opt/openssl/include"
    

提交回复
热议问题