应该有很多朋友在安装jupyter出现过这个错误提示 代码无法运行 服务器无法连接 原因:prompt-toolkit版本不对 解决方法:安装符合要求的版本,如pip3 install prompt-toolkit==1.0.15