1、使用sudo install jupyter安装jupyter时,出现ipython与prompt-toolkit不兼容的问题,错误提示如下:
ipython 6.5.0 has requirement prompt-toolkit<2.0.0,>=1.0.15, but you'll have prompt-toolkit 2.0.7 which is incompatible.
2、使用sudo pip install prompt-toolkit==1.0.15安装对应版本,然而出现jupyter-console与prompt-toolkit不兼容的问题,错误提示如下:
jupyter-console 6.0.0 has requirement prompt-toolkit<2.1.0,>=2.0.0, but you'll have prompt-toolkit 1.0.15 which is incompatible.
处理方式:
使用sudo pip install jupyter-console=5.2.0降低jupyter-console的版本。测试有效。