when install jupyter notebook with python3 Error: NotImplementedError

This problem is related to the tornado server which jupyter notebook uses.

To fix this problem, we need to edit the file tornado/platform/asyncio.py, This file is under your virtualenv directory, I have an env3 virtual environment, so my tornado file is C:\Users\Developer\Envs\env3\Lib\site-packages\tornado\platform\asyncio.py, by adding:

import sys

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

After all the main imports.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.