原因是
python-dev包没有安装
根据Py2还是py3
sudo apt-get install python-dev
或者
sudo apt-get install python3-dev
安装完后,再次安装即可成功
标签:cto error 原因 class error: rect apt ubuntu 模块
原因是
python-dev包没有安装
根据Py2还是py3
sudo apt-get install python-dev
或者
sudo apt-get install python3-dev
安装完后,再次安装即可成功
ubuntu 安装 regex模块时 fatal error: Python.h: No such file or directory
标签:cto error 原因 class error: rect apt ubuntu 模块
原文地址:https://www.cnblogs.com/xqnq2007/p/8128282.html