装一台新服务器环境的时候,装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

 

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

 

相关文章:

  • 2022-12-23
  • 2022-02-10
  • 2022-02-10
  • 2021-05-07
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案