[centos8] pip3 install mysqlclient时遇到OSError: mysql_config not found[python]

目的

修复 OSError: mysql_config not found 问题

环境

centos8系统下使用

pip3 install mysqlclient

django安装mysql支持的时候,报了一下错误:

OSError: mysql_config not found

解决

$ sudo dnf install mysql-devel

相关文章:

  • 2021-11-13
  • 2022-12-23
  • 2021-11-20
  • 2021-10-23
  • 2022-12-23
  • 2021-11-18
  • 2022-01-28
  • 2021-11-28
猜你喜欢
  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2021-09-28
相关资源
相似解决方案