-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not Implemented Error Coming from ZMQ/asyncio #515
Comments
What version of pyzmq are you running with? This looks like an issue in that library assuming state about asyncio. |
pyzmq==19.0.1 |
Was just going to mention the package is |
@minrk Do you know if that latest release of pyzmq has async compatibility issues around some of the new socket cleanup code? I didn't see an issue yet. |
CPython 3.8 changed the default event loop on Windows to "proactor" which lacks the basic The recommendation from Python itself was for all applications to set the event loop policy to use the select loop, which was the default prior to 3.8: if sys.platform == 'win32':
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) Since there's no good way for libraries to set a policy (it wouldn't be super appropriate to set a global like this at import time), it's on all applications that use these libraries to set this policy themselves prior to creating the event loop. I don't know if it's feasible for pyzmq to support the proactor APIs, but haven't had time to investigate. |
That does clarify the issue well. I can add a patch to papermill here to cover entrypoint conditions for windows event loop on 3.8 then since this gets launched before most event loops have started. |
I should have time to get a patch in papermill at least in the next day or two. Really annoying that CPython has different async interaction on Windows for 3.8 :/ |
This should be resolved in the 2.1.2 release now |
Getting a not implemented error when running execute_notebook.
python 3.8
windows 10
virtualenv
A link to my project I am working on is here. https://github.com/crawftv/crawto.
I tried running it without a separate jupyter instance running but that did not help.
The text was updated successfully, but these errors were encountered: