问题背景:
pip3 insatll matplotlib时,编译中断。
src/_imagingtk.c:15:20: 致命错误:Python.h:没有那个文件或目录
#include "Python.h"
问题原因:
python3没有安装python3-devel开发工具包导致的。
问题解决:
yum install -y python3-devel
pip3 insatll matplotlib时,编译中断。
src/_imagingtk.c:15:20: 致命错误:Python.h:没有那个文件或目录
#include "Python.h"
python3没有安装python3-devel开发工具包导致的。
yum install -y python3-devel