【python】升级python后yum不能使用解决方法
来源:互联网 发布:java mysql连接池配置 编辑:程序博客网 时间:2024/05/22 16:04
在升级python后,yum不能使用
解决方法:
一、查看python版本
whereis python确定升级前的版本号
二、修改yum和yum-updatest文件
查找yum和 yum-updatest文件,并编辑此py文件
which yum/usr/bin/yumvi /usr/bin/yumvi /usr/bin/yum-updatest
将
#!/usr/bin/python
改为:
#!/usr/bin/python2.6
之前自带的是python版本是2.6,后来升级到2.7,所以改成2.6
三、yum-uodatest重启
修改yum-uodatest后重启
yum-updatesd restart
阅读全文
0 0
- 【python】升级python后yum不能使用解决方法
- 升级Python版本后不能使用yum命令
- fedora 15 升级python后yum无法使用的解决方法
- python升级后yum无法使用
- 升级python 带来的 yum 不能使用的问题
- python 升级 yum 不可用解决方法
- Python 升级后yum 不可用
- centos升级python导致yum无法使用
- linux Python升级导致Yum无法使用
- Python升级导致使用yum报错
- yum升级Python
- centos下,将python升级3.0+以上版本后,yum、update等无法使用问题
- 解决python升级后yum不能用的问题
- python升级安装后的yum的修复
- 升级Python版本后 yum命令不可用
- CentOS 6.4升级Python后yum不可用的解决方案
- CentOS系统Python升级后yum不可用的解决办法
- XCODE 8 升级后注释快捷键不能使用的解决方法
- hdu 3911, 3397 线段树 lazy tag
- Windows Internals – 0 开篇
- FPGA学习笔记:面向验证和仿真的行为描述语句(3)
- Java注解(Annotation)详解(三)——解析注解
- 批量微信筛选开通助手
- 【python】升级python后yum不能使用解决方法
- 并发(1)基本的线程机制
- 2. Add Two Numbers
- 百度地图与谷歌地球的偏差调整
- Windows Internals – 1.1 概念与工具之Windows版本
- c语言-简易通讯录
- Centos 6.9 Install gcc 7.1.0
- UITableView的表头表尾(tableHeaderView,tableFooterView) 和 组头组尾(viewForHeaderInSection,heightForFooterInSec
- 使用键盘激活click事件