1. python3
sudo apt-get install python3 2. pip3
sudo apt install python3-venv python3-pip 3. 升级pip3
pip3 install --upgrade pip 1、下载ez_setup.py文件 下载地址:https://bootstrap.pypa.io/ez_setup.py 百度地址:http://pan.baidu.com/s/1jIgMO9w 2、安装ez_setup.py文件 python ez_setup.py sudo pip3 install ipython 文章来源: https://blog.csdn.net/u012206617/article/details/97249024