使用pip3安装ipython及其依赖包:pip3 install ipython在 .bashrc文件中添加环境变量设置:alias ipython='python3 -m IPython'使刚修改的.bashrc文件立即生效:source .bashrc
pip3 install ipython
.bashrc
alias ipython='python3 -m IPython'
source .bashrc