ubuntu下卸载python2和升级python3.5
2016-06-10 23:30
477 查看
卸载python只需一条语句就可以实现
ubuntu下安装python3
但这样只安装了python3.4
要想使用python3.5,则必须升级python3.4
使用以上三行命令便可升级python3.4到python3.5
启动时要输入python3.5
输入python时启动的是python2.7
输入python3时启动的是python3.4
输入python3.5时启动的才是python3.5
sudu apt-get remove python
ubuntu下安装python3
sudo apt-get install python3
但这样只安装了python3.4
要想使用python3.5,则必须升级python3.4
sudo add-apt-repository ppa:fkrull/deadsnakes sudo apt-get update sudo apt-get install python3.5
使用以上三行命令便可升级python3.4到python3.5
启动时要输入python3.5
输入python时启动的是python2.7
输入python3时启动的是python3.4
输入python3.5时启动的才是python3.5
相关文章推荐
- python的运用
- 一个支持cookie的简单web服务器
- Jupyter notebook中设定Kernel为Python2和Python3
- Python基础
- Python学习资料推荐
- Python学习资料推荐
- Python学习资料推荐
- Python学习资料推荐
- Python学习资料推荐
- Python学习资料推荐
- Python学习资料推荐
- Python学习资料推荐
- Python学习资料推荐
- Python学习资料推荐
- Python学习资料推荐
- Python学习资料推荐
- python《注释+反斜扛的妙用》
- python的赋值、浅拷贝和深拷贝
- 基于 Jython 的大型应用系统动态实现
- 【风马一族_Python】 决策树