Search code examples
pythonmachine-learningdeep-learningkernelkaggle

"AttributeError: 'NoneType' object has no attribute 'thread'" Error while committing in Kaggle


I'm getting the following error when I try to commit on Kaggle.

Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/opt/conda/lib/python3.6/logging/__init__.py", line 1944, in shutdown h.flush() File "/opt/conda/lib/python3.6/site-packages/absl/logging/__init__.py", line 882, in flush self._current_handler.flush() File "/opt/conda/lib/python3.6/site-packages/absl/logging/__init__.py", line 776, in flush self.stream.flush() File "/opt/conda/lib/python3.6/site-packages/ipykernel/iostream.py", line 341, in flush if self.pub_thread.thread.is_alive(): AttributeError: 'NoneType' object has no attribute 'thread'

Does anyone know how to solve this?

Thanks.


Solution

  • I think this is an ipykernel related issue that has an upstream fix which hasn't been packaged into a release yet. So you might have to wait.