Traceback (most recent call last):


 "C:\Users\hoffmand\AppData\Local\Continuum\Anaconda3\lib\site-packages\tornado\gen.py", line 849, in callback

result_list.append(f.result())


 "C:\Users\hoffmand\AppData\Local\Continuum\Anaconda3\lib\site-packages\tornado\gen.py", line 1113, in run

yielded = self.gen.send(value)


 "C:\Users\hoffmand\AppData\Local\Continuum\Anaconda3\lib\site-packages\distributed\deploy\local.py", line 189, in _start_worker

raise gen.TimeoutError("Worker failed to start")
tornado.util.TimeoutError: Worker failed to start

Traceback (most recent call last):


 "/home/boffi/lib/miniconda3/bin/jupyter-nbconvert", line 11, in <module>

sys.exit(main())


 "/home/boffi/lib/miniconda3/lib/python3.7/site-packages/jupyter_core/application.py", line 266, in launch_instance

return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)


 "/home/boffi/lib/miniconda3/lib/python3.7/site-packages/traitlets/config/application.py", line 658, in launch_instance

app.start()


 "/home/boffi/lib/miniconda3/lib/python3.7/site-packages/nbconvert/nbconvertapp.py", line 337, in start

self.convert_notebooks()


 "/home/boffi/lib/miniconda3/lib/python3.7/site-packages/nbconvert/nbconvertapp.py", line 507, in convert_notebooks

self.convert_single_notebook(notebook_filename)


 "/home/boffi/lib/miniconda3/lib/python3.7/site-packages/nbconvert/nbconvertapp.py", line 478, in convert_single_notebook

output, resources = self.export_single_notebook(notebook_filename, resources, input_buffer=input_buffer)


 "/home/boffi/lib/miniconda3/lib/python3.7/site-packages/nbconvert/nbconvertapp.py", line 407, in export_single_notebook

output, resources = self.exporter.from_filename(notebook_filename, resources=resources)


 "/home/boffi/lib/miniconda3/lib/python3.7/site-packages/nbconvert/exporters/exporter.py", line 178, in from_filename

return self.from_file(f, resources=resources, **kw)


 "/home/boffi/lib/miniconda3/lib/python3.7/site-packages/nbconvert/exporters/exporter.py", line 196, in from_file

return self.from_notebook_node(nbformat.read(file_stream, as_version=4), resources=resources, **kw)


 "/home/boffi/lib/miniconda3/lib/python3.7/site-packages/nbconvert/exporters/latex.py", line 84, in from_notebook_node

return super(LatexExporter, self).from_notebook_node(nb, resources, **kw)


 "/home/boffi/lib/miniconda3/lib/python3.7/site-packages/nbconvert/exporters/templateexporter.py", line 300, in from_notebook_node

nb_copy, resources = super(TemplateExporter, self).from_notebook_node(nb, resources, **kw)


 "/home/boffi/lib/miniconda3/lib/python3.7/site-packages/nbconvert/exporters/exporter.py", line 138, in from_notebook_node

nb_copy, resources = self._preprocess(nb_copy, resources)


 "/home/boffi/lib/miniconda3/lib/python3.7/site-packages/nbconvert/exporters/exporter.py", line 315, in _preprocess

nbc, resc = preprocessor(nbc, resc)


 "/home/boffi/lib/miniconda3/lib/python3.7/site-packages/nbconvert/preprocessors/base.py", line 47, in __call__

return self.preprocess(nb, resources)


 "/home/boffi/lib/miniconda3/lib/python3.7/site-packages/nbconvert/preprocessors/base.py", line 69, in preprocess

nb.cells[index], resources = self.preprocess_cell(cell, resources, index)


 "/home/boffi/lib/miniconda3/lib/python3.7/site-packages/nbconvert/preprocessors/extractoutput.py", line 92, in preprocess_cell

data = json.dumps(data)


 "/home/boffi/lib/miniconda3/lib/python3.7/json/__init__.py", line 231, in dumps

return _default_encoder.encode(obj)


 "/home/boffi/lib/miniconda3/lib/python3.7/json/encoder.py", line 199, in encode

chunks = self.iterencode(o, _one_shot=True)


 "/home/boffi/lib/miniconda3/lib/python3.7/json/encoder.py", line 257, in iterencode

return _iterencode(o, 0)


 "/home/boffi/lib/miniconda3/lib/python3.7/json/encoder.py", line 179, in default

raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type bytes is not JSON serializable
