Centos7 yum reports an error when installing python3.9 [There is no available package python3.9. Error: No processing required]

Steps to reproduce

Use the yum command to install python3.9 in centos

yum install python3.9
yum install python3-pip

Error content

已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.lzu.edu.cn
 * extras: mirror.lzu.edu.cn
 * updates: mirror.lzu.edu.cn
没有可用软件包 nginx。
错误:无须任何处理

Solution

Yum did not find the corresponding dependency package, update the epel third-party software library

yum install -y epel-release

If it still doesn’t work, update yum.

yum update

Execute the python installation command again

Guess you like

Origin blog.csdn.net/weixin_43721000/article/details/134377522