Environment: Linux-CentOS8, Python3.6
If you encounter a problem that python-devel cannot be installed, you find the following error:
[ root@localhost mongodb-src-r4.2.7]# yum install python-devel
Last metadata expiration check: 0:05:23 ago on Sun 07 Jun 2020 12:53:56 AM CST.
No match for argument: python-devel
Error: Unable to find a match: python-devel
One of the solutions is:
yum install python36-devel
That is, use the 3.6 version to install.
With Python36-devel, pip3 installation is smoother.
The above is the whole content of this article, I hope it will be helpful to everyone's study.
Recommended Posts