kali下安装MySQL-python报错 mysql_config not found解决方法

  • A+
所属分类:系统文档

kali下安装MySQL-python报错 mysql_config not found解决方法

kali下安装MySQL-python报错 mysql_config not found解决方法

根据网上的结果是libmysqlclient-dev的问题

但是apt-get install libmysqlclient-dev 依然不行:

显示:

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

E: Package 'libmysqlclient-dev' has no installation candidate

kali下安装MySQL-python报错 mysql_config not found解决方法

解决:

apt-cache search libmysql

发现名称是:default-libmysqlclient-dev

kali下安装MySQL-python报错 mysql_config not found解决方法

于是

apt-get install default-libmysqlclient-dev

kali下安装MySQL-python报错 mysql_config not found解决方法

kali下安装MySQL-python报错 mysql_config not found解决方法

success!

  • 我的微信
  • 这是我的微信扫一扫
  • weinxin
  • 我的微信公众号
  • 我的微信公众号扫一扫
  • weinxin

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: