装一台新服务器环境的时候,装uwsgi报错:

plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory
 #include <Python.h>

plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory

 

查了一下解决办法:

yum install python-devel.x86_64

 

之后再运行安装,问题解决。

 

相关文章:

  • 2021-09-28
  • 2021-04-14
  • 2021-08-28
  • 2021-08-07
  • 2021-04-09
  • 2021-05-08
  • 2021-11-15
  • 2021-10-26
猜你喜欢
  • 2021-05-07
  • 2021-11-10
  • 2021-07-21
  • 2021-08-20
  • 2021-03-26
  • 2021-12-02
相关资源
相似解决方案