Traceback (most recent call last):


 "/opt/ml/code/train", line 138, in train

PRETRAINED_PATH, do_lower_case=bool(training_config["do_lower_case"])


 "/opt/conda/lib/python3.7/site-packages/transformers/tokenization_utils.py", line 309, in from_pretrained

return cls._from_pretrained(*inputs, **kwargs)


 "/opt/conda/lib/python3.7/site-packages/transformers/tokenization_utils.py", line 339, in _from_pretrained

if os.path.isfile(pretrained_model_name_or_path) or is_remote_url(pretrained_model_name_or_path):


 "/opt/conda/lib/python3.7/site-packages/transformers/file_utils.py", line 143, in is_remote_url

parsed = urlparse(url_or_filename)


 "/opt/conda/lib/python3.7/urllib/parse.py", line 367, in urlparse

url, scheme, _coerce_result = _coerce_args(url, scheme)


 "/opt/conda/lib/python3.7/urllib/parse.py", line 123, in _coerce_args

return _decode_args(args) + (_encode_result,)


 "/opt/conda/lib/python3.7/urllib/parse.py", line 107, in _decode_args

return tuple(x.decode(encoding, errors) if x else '' for x in args)


 "/opt/conda/lib/python3.7/urllib/parse.py", line 107, in <genexpr>

return tuple(x.decode(encoding, errors) if x else '' for x in args)
AttributeError: 'PosixPath' object has no attribute 'decode'

Traceback (most recent call last):


 "spack/bin/spack", line 48, in <module>

sys.exit(spack.main.main())


 "spack/lib/spack/spack/main.py", line 605, in main

env = ev.find_environment(args)


 "spack/lib/spack/spack/environment.py", line 182, in find_environment

return Environment(env)


 "spack/lib/spack/spack/environment.py", line 365, in __init__

self._read_manifest(f)


 "spack/lib/spack/spack/environment.py", line 377, in _read_manifest

self.yaml = _read_yaml(f)


 "spack/lib/spack/spack/environment.py", line 318, in _read_yaml

validate(data, filename)


 "spack/lib/spack/spack/environment.py", line 311, in validate

e, data, filename, e.instance.lc.line + 1)
AttributeError: 'NoneType' object has no attribute 'lc'
