mysql_config not found when installing mysqldb python interface

前端 未结 30 2026
暗喜
暗喜 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:21

    The package libmysqlclient-dev is deprecated, so use the below command to fix it.

    Package libmysqlclient-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

    sudo apt-get install default-libmysqlclient-dev
    

提交回复
热议问题