在搭建Flask框架安装mysqlclient模块时候老是报fatal error: Python.h:错误,折腾老半天,百度了老半天看了不少大神帖子,就是没解决,

后来发现这不是个BUG,都是自己的错,自己的锅自己背着以后不能背。

python安装mysqlclient模块报fatal error: Python.h:解决方法

这的确不是bug,而是pip3没有安装,解决方法安装pip3就好

sudo apt install python3-pip

 

相关文章:

  • 2021-11-14
  • 2021-09-15
  • 2021-08-17
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2022-02-10
  • 2021-11-18
  • 2021-10-27
相关资源
相似解决方案