Prompt me for the following error
Asked
Active
Viewed 1.1k times
1 Answers
13
python2.7
is completely obsolete by now. You should work with python3
. Hence you could install:
dnf install python3-devel -y
(dnf
is the replacement for yum
on centos8. yum
is still available but just an alias for dnf
)

Chris Maes
- 35,025
- 12
- 111
- 136
-
2For specific python version, say for python3.8 then `dnf install python38-devel -y` – Vinay Sheshadri Nov 13 '20 at 19:59
-
Maybe also u need to update system repos before: `yum update -y && yum install -y epel-release && yum install -y dnf-plugins-core && yum config-manager --set-enabled powertools` – Demetry Pascal May 30 '23 at 13:21