Traceback (most recent call last):


 "Z:\Python\envs\wjahr\playground\lib\site-packages\OpenGL\latebind.py", line 41, in __call__

return self._finalCall( *args, **named )
TypeError: 'NoneType' object is not callable

Traceback (most recent call last):


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


 "lib/python3.7/site-packages/flair/nn.py", line 88, in load

state = torch.load(f, map_location='cpu')


 "lib/python3.7/site-packages/torch/serialization.py", line 594, in load

return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)


 "lib/python3.7/site-packages/torch/serialization.py", line 853, in _load

result = unpickler.load()


 "lib/python3.7/site-packages/flair/embeddings/token.py", line 1523, in __setstate__

if not os.path.exists(self.cache_dir / state["lang"]):


 "lib/python3.7/pathlib.py", line 925, in __truediv__

return self._make_child((key,))


 "lib/python3.7/pathlib.py", line 704, in _make_child

drv, root, parts = self._parse_args(args)


 "lib/python3.7/pathlib.py", line 658, in _parse_args

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