Ubuntu安装python3
来源:互联网 发布:网络十大恐怖图片 编辑:程序博客网 时间:2024/06/06 20:11
sudo apt-get install python3
安装python3,安装完之后系统默认还是python2,要删除python link文件。 sudo rm -rf /usr/bin/python
然后建立新连接。
sudo ln -s /usr/bin/python3 /usr/bin/python
之后在terminal中输入python
即可进入python了。
如果知道具体的python版本,可以在将命令行中的python3改为具体的版本,但如果版本版本号输入错误的话,在terminal想输入python
进入python的话会出现下面的情况。
这时只能输入python3进入python,在安装pip的时候会出现“subprocess installed post-installation script returned error exit status 127 ”的错误。
阅读全文
0 0
- ubuntu下安装Python3
- ubuntu下安装Python3
- ubuntu 安装 python3 升级
- ubuntu 安装 python3 升级
- Ubuntu 14.04 安装 Python3
- ubuntu安装python3.5
- ubuntu 安装 python3 升级
- Ubuntu 安装 python3.5
- ubuntu安装python3.5
- ubuntu安装python3.5
- ubuntu安装python3
- ubuntu 安装 python3 升级
- ubuntu安装Python3.5
- Ubuntu安装Python3.5
- Ubuntu安装python3
- ubuntu安装python3.5
- Ubuntu中安装python3
- Ubuntu安装Python3
- Servlet中获取资源
- iOS KVO的优势及缺点
- [MongoDB] Mongodb的初应用
- 一篇不一样的StringBuffer和StringBuilder
- linux运维故障定位汇总
- Ubuntu安装python3
- Jeecg 重写编辑按钮相关的 js 方法
- Install OpenCV 2.4.9 in Ubuntu 14.04, 13.10(Ubuntu 14.04, 13.10 下安装 OpenCV 2.4.9)
- Oracle数据库的卸载
- 【Android开发点滴】Android Studio常用快捷键
- Bootstrap table 服务器端分页示例
- centos下的mysql-cluster集群安装
- Lecture 2: Operators and operands; statements; branching, conditionals, and iteration
- C++中一些知识总结