Traceback (most recent call last):


 "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/worker.py", line 199, in run

new_deps = self._run_get_new_deps()


 "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/worker.py", line 139, in _run_get_new_deps

task_gen = self.task.run()


 "/Users/****/tmp/*****/test.py", line 52, in run

dic = TaskConfig3().dic


 "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/task_register.py", line 88, in __call__

param_values = cls.get_param_values(params, args, kwargs)


 "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/task.py", line 420, in get_param_values

if not param_obj.has_task_value(task_family, param_name):


 "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/parameter.py", line 229, in has_task_value

return self._get_value(task_name, param_name) != _no_value


 "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/parameter.py", line 200, in _get_value

for value, warn in self._value_iterator(task_name, param_name):


 "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/parameter.py", line 218, in _value_iterator

yield (self._get_value_from_config(task_name, param_name), None)


 "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/parameter.py", line 197, in _get_value_from_config

return self.parse(value)


 "/Users/****/.local/share/virtualenvs/*****-6FWU2-1k/lib/python3.7/site-packages/luigi/parameter.py", line 991, in parse

return json.loads(s, object_pairs_hook=_FrozenOrderedDict)


 "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 341, in loads

raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not dict

Traceback (most recent call last):


 "/usr/local/bin/papermill", line 11, in <module>

sys.exit(papermill())


 "/usr/local/lib/python3.5/dist-packages/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/usr/local/lib/python3.5/dist-packages/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/usr/local/lib/python3.5/dist-packages/click/core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/usr/local/lib/python3.5/dist-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/usr/local/lib/python3.5/dist-packages/papermill/cli.py", line 165, in papermill

cwd=cwd,


 "/usr/local/lib/python3.5/dist-packages/papermill/execute.py", line 68, in execute_notebook

nb = load_notebook_node(input_path)


 "/usr/local/lib/python3.5/dist-packages/papermill/iorw.py", line 309, in load_notebook_node

nb = nbformat.reads(papermill_io.read(notebook_path), as_version=4)


 "/usr/local/lib/python3.5/dist-packages/nbformat/__init__.py", line 74, in reads

nb = reader.reads(s, **kwargs)


 "/usr/local/lib/python3.5/dist-packages/nbformat/reader.py", line 58, in reads

nb_dict = parse_json(s, **kwargs)


 "/usr/local/lib/python3.5/dist-packages/nbformat/reader.py", line 14, in parse_json

nb_dict = json.loads(s, **kwargs)


 "/usr/lib/python3.5/json/__init__.py", line 312, in loads

s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
