Jupyter Notebook - Cannot Connect to Kernel

后端 未结 10 1686
小蘑菇
小蘑菇 2021-02-20 02:21

I\'ve tried installing jupyter notebook using pip3 install jupyter. Every time i launch a new jupyter notebook, the notebook is unable to connect to the kernel. See screenshot b

10条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-20 02:43

    I got this error:

    from prompt_toolkit.eventloop import generator_to_async_generator
    ImportError: cannot import name 'generator_to_async_generator' from 'prompt_toolkit.eventloop' (/Users/danielmlow/miniconda3/envs/pydra/lib/python3.7/site-packages/prompt_toolkit/eventloop/__init__.py)
    

    So I upgraded prompt_toolkit:

    pip install prompt_toolkit==3.0.
    

提交回复
热议问题