Jupyter Notebook with Python 3.8 - NotImplementedError
EDIT
This issue exists in older versions of Jupyter Notebook and was fixed in version 6.0.3 (released 2020-01-21). To upgrade to the latest version run:
pip install notebook --upgrade
Following on this issue through GitHub, it seems the problem is related to the tornado
server that jupyter uses.
For those that can't wait for an official fix, I was able to get it working by editing the file tornado/platform/asyncio.py
, by adding:
import sys
if sys.platform == 'win32':
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
After the main imports.
I expect an official fix for this soon, however.
Voila for Jupyter raises error: raise NotImplementedError
Add this line in asyncio.py
after import asyncio
:
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
https://github.com/mkdocs/mkdocs/commit/2172c9f999b17201102732a53c08e3de0dd48c74
Related Topics
How to Remove Packages Installed with Python's Easy_Install
How to Activate a Virtualenv Inside Pycharm's Terminal
How to Make a For-Loop Pyramid More Concise in Python
Attributeerror: 'Tensor' Object Has No Attribute 'Numpy'
"Importerror: No Module Named" When Trying to Run Python Script
When Would the -E, --Editable Option Be Useful with Pip Install
Python Requests - No Connection Adapters
Does a File Object Automatically Close When Its Reference Count Hits Zero
How to Check the Versions of Python Modules
How to Use Multiprocessing Queue in Python
Is the Server Bundled with Flask Safe to Use in Production
Cleanest Way to Get Last Item from Python Iterator
Sorting Text File by Using Python
How to Save an Image Locally Using Python Whose Url Address I Already Know