Python - python-devel无法安装的问题解决方案

时间:2020-06-07 09:37:04   收藏:0   阅读:1178

环境:Linux-CentOS8,Python3.6

如果你遇到python-devel无法安装的问题,发现如下错误:

[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

 

解决方案之一是:

yum install python36-devel

即使用3.6版本去安装。

 

技术分享图片

有了Python36-devel,pip3安装就更顺畅了。

原文:https://www.cnblogs.com/johnthegreat/p/13058230.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!