复现

pip3 install uwsgi -i https://pypi.tuna.tsinghua.edu.cn/simple

坑(二十八)—— pip3安装模块找不到Python.h

坑(二十八)—— pip3安装模块找不到Python.h

 

原因

根据日志提示,报错原因是找不到Python.h文件

 

解决

# Python 3.6
yum install -y gcc python36-devel

相关文章:

  • 2021-05-17
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-03
  • 2022-12-23
  • 2021-10-14
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案