1.安装好python 2.使用pip3 install ipython 3.然后查询ipython在哪:find / -name ipython3 4.找到后建立软连接,例如:ln -s /usr/python3/bin/ipython3 /usr/bin/ipython3