Excerpt : https: //www.jianshu.com/p/aa93a0341c82
Use pip3 installation ipython its dependencies: pip3 install ipython
in .bashrc
adding an environment variable settings file: alias ipython='python3 -m IPython'
the newly modified .bashrc
file effective immediately:source .bashrc