Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

asyncioevents.py", line 504, in add_reader raise NotImplementedError

# Edit C:Users[username]AppDataLocalProgramsPythonPython39Libsite-packages	ornadoplatformasyncio.py
# Add the below code and it will work. May need to change Python39 to your version i.e Python 3.8 == Python38

import sys
if sys.platform == 'win32':
    asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #line #raise #NotImplementedError
ADD COMMENT
Topic
Name
7+8 =