Centos 6.4 python 2.6 升级到 2.7
来源:互联网 发布:java中的compareto 编辑:程序博客网 时间:2024/05/17 02:46
查看python的版本
1.下载Python-2.7.3
2.解压
3.更改工作目录
4.安装
5.查看版本信息
6.建立软连接,使系统默认的 python指向 python2.7
7.重新检验Python 版本
8解决系统 Python 软链接指向 Python2.7 版本后,因为yum是不兼容 Python 2.7的,所以yum不能正常工作,我们需要指定 yum 的Python版本
#!/usr/bin/python
改成
#!/usr/bin/python2.6.6
这篇教程就到这里了,但是不久就突然发现输入法图标不见了,然后打字没有候选框!iBus 崩了!再次进行搜索,又是版本问题 iBus也是不支持Python2.7的啊!
于是。。。
9.配置iBus
分别用 vi 打开下面两个文件,找到 exec python 那一行,把exec python 改为 exec python2.6 保存,退出。iBus在重启后就恢复正常了!是不是很开心?
0 0
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- Centos 6.4 python 2.6 升级到 2.7
- 不使用回调函数的ajax请求实现(async和await简化回调函数嵌套)
- 起航
- hadoop学习笔记
- listview嵌套gridview,数据错位问题
- phpMyAdmin出现Fatal error: Maximum execution time of
- Centos 6.4 python 2.6 升级到 2.7
- iOS10-浅谈iOS视频播放的N种解决方案
- 函数指针数组指针!
- 允许任何位置都可以打开应用
- Chapter 02 Computer Graphics Software
- 二分查找O(logn)
- 批处理、控制流语句解析
- 二十七、UI-Grid 保存和还原状态
- 利用php数组函数进行函数式编程