-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
Printed output not displayed when using joblib in jupyter notebook #402
Comments
+1 |
1 similar comment
+1 |
+1 |
I am hitting this issue now. Any updates? |
2 years nobody care? |
This should have been fixed in ipykernel 6. Please try again. |
+1 |
@ccordoba12 it indeed works now with |
ipykernel 6.18.0 and it doesn't work |
ipykernel 6.20.1 still failing |
ipykernel 6.28.0 still failing |
ipykernel v6.29.0 improved the situation for threads, but I think joblib uses processes? |
ipykernel 6.29.4 working on vs code jupyter extension but not a jupyter notebook |
So I am using joblib to parallelize some code and I noticed that I couldn't print things when using it inside a jupyter notebook.
I tried using doing the same example in ipython and it worked perfectly.
Here is a minimal (not) working example to write in a jupyter notebook cell
So I am getting the output as
[None, None, None, None, None, None, None, None, None, None]
but nothing is printed.Actually, checking the logs of the notebook process, I noticed that the prints happen there. I would like the prints to happen in the notebook, not the logs of the notebook process.
I have written an SO issue as well.
From what I understood discussing with @tomMoral, it may be related to the way the IO handler is passed to the child processes.
The text was updated successfully, but these errors were encountered: