Jupiter notebook Kernel start failed

ImportError: cannot import name 'generator_to_async_generator'

找到了两个版本的prompt_toolkit, 所以需要uninstall之后再install,参考

https://github.com/ipython/ipython/issues/11270

之后继续出错

ModuleNotFoundError: No module named 'IPython.core

解决方案

pip install ipython --ignore-installed ipython
posted @ 2021-04-26 09:41  我是脑瘫  阅读(104)  评论(0编辑  收藏  举报