win10下python3.8运行jupyter notebook时报NotImplementedError错误解决办法

win10下python3.8运行jupyter notebook时报NotImplementedError错误解决办法

win10安装jupyter后,启动jupyter notebook报错:NotImplementedError.
win10下python3.8运行jupyter notebook时报NotImplementedError错误解决办法_第1张图片
解决办法:
在c:\users\user\appdata\local\programs\python\python38\lib\site-packages\tornado\platform\asyncio.py 下添加如下内容:

import sys

if sys.platform == 'win32':
    asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

随后终端启动jupyter notebook 成功,完美解决。

你可能感兴趣的:(win10下python3.8运行jupyter notebook时报NotImplementedError错误解决办法)