安装 [root@biostacs /]# pip install bash_kernel You are using pip version 7.1.0, however version 8.1.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Collecting bash-kernel Downloading bash_kernel-0.4.1-py2.py3-none-any.whl Requirement already satisfied (use --upgrade to upgrade): pexpect>=3.3 in /usr/lib/python2.7/site-packages (from bash-kernel) Requirement already satisfied (use --upgrade to upgrade): ptyprocess>=0.5 in /usr/lib/python2.7/site-packages (from pexpect>=3.3->bash-kernel) Installing collected packages: bash-kernel Successfully installed bash-kernel-0.4.1 [root@biostacs /]# python -m bash_kernel.install Installing IPython kernel spec 测试