Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/lib/python3.4/tempfile.py", line 409, in mkstemp

return _mkstemp_inner(dir, prefix, suffix, flags)


 "/usr/lib/python3.4/tempfile.py", line 337, in _mkstemp_inner

file = _os.path.join(dir, pre + name + suf)


 "/usr/lib/python3.4/posixpath.py", line 89, in join

"components") from None
TypeError: Can't mix strings and bytes in path components

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/jingmouren/miniconda3/lib/python3.7/site-packages/torch/hub.py", line 369, in load

model = entry(*args, **kwargs)


 "/home/jingmouren/.cache/torch/hub/pytorch_fairseq_master/fairseq/models/fairseq_model.py", line 255, in from_pretrained

**kwargs,


 "/home/jingmouren/.cache/torch/hub/pytorch_fairseq_master/fairseq/hub_utils.py", line 56, in from_pretrained

kwargs['data'] = os.path.abspath(os.path.join(model_path, data_name_or_path))


 "/home/jingmouren/miniconda3/lib/python3.7/posixpath.py", line 80, in join

a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
