Posted 04 August, 2020
You might find when you receive this error :
fatal error: Python.h: No such file or directory
The solution on Centos is to install python-devel package; In Centos 8 however this package was renamed due to the fact python 2.7 is no longer the default one, it has become 3. And this package was named w/o any suggestions;
[[email protected]]# yum install python-devel Last metadata expiration check: 2:41:52 ago on Tue 04 Aug 2020 01:19:19 PM CEST. No match for argument: python-devel Error: Unable to find a match: python-devel
The solution is to add python version number :
yum install python3-devel
If you enjoyed this article, please consider buying me a Dr Pepper.
Fuel the beast!
Buy me a Dr Pepper