Traceback (most recent call last):



 "C:\Users\macwanj\AppData\Local\miniconda3\envs\bert\lib\site-packages\IPython\core\interactiveshell.py", line 3331, in run_code


exec(code_obj, self.user_global_ns, self.user_ns)



 "<ipython-input-94-eb0783e1626e>", line 1, in <module>


tokenizer = BertTokenizer.from_pretrained(PROJ_DIR/'models'/model_name)



 "C:\Users\macwanj\AppData\Local\miniconda3\envs\bert\lib\site-packages\transformers\tokenization_utils.py", line 393, in from_pretrained


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



 "C:\Users\macwanj\AppData\Local\miniconda3\envs\bert\lib\site-packages\transformers\tokenization_utils.py", line 424, in _from_pretrained


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



 "C:\Users\macwanj\AppData\Local\miniconda3\envs\bert\lib\site-packages\transformers\file_utils.py", line 146, in is_remote_url


parsed = urlparse(url_or_filename)



 "C:\Users\macwanj\AppData\Local\miniconda3\envs\bert\lib\urllib\parse.py", line 367, in urlparse


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



 "C:\Users\macwanj\AppData\Local\miniconda3\envs\bert\lib\urllib\parse.py", line 123, in _coerce_args


return _decode_args(args) + (_encode_result,)



 "C:\Users\macwanj\AppData\Local\miniconda3\envs\bert\lib\urllib\parse.py", line 107, in _decode_args


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



 "C:\Users\macwanj\AppData\Local\miniconda3\envs\bert\lib\urllib\parse.py", line 107, in <genexpr>


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

AttributeError: 'WindowsPath' object has no attribute 'decode'

Traceback (most recent call last):


 "eventHandler.pyc", line 150, in executeEvent


 "eventHandler.pyc", line 183, in doPreGainFocus


 "appModules\powerpnt.pyc", line 1080, in event_treeInterceptor_gainFocus


 "appModules\powerpnt.pyc", line 1099, in reportNewSlide


 "sayAllHandler.pyc", line 81, in readText


 "sayAllHandler.pyc", line 173, in nextLine


 "speech\__init__.pyc", line 458, in _flattenNestedSequences


 "speech\__init__.pyc", line 458, in <listcomp>


 "speech\__init__.pyc", line 1047, in __iter__


 "speech\__init__.pyc", line 1119, in getTextInfoSpeech


 "appModules\powerpnt.pyc", line 1027, in getTextWithFields
AttributeError: 'Dynamic_SlideShowWindowIAccessibleWindowNVDAObject' object has no attribute 'basicTextFields'
