随笔分类 - Python / python报错
摘要:**报错信息** 使用`metric = evaluate.load("seqeval")`的时候,报如下错误: ```python ImportError: To be able to use evaluate-metric/seqeval, you need to install the fol
阅读全文
摘要:**报错信息** Python加载xlsx文件时,遇到: ```python xlrd.biffh.XLRDError Excel xlsx file; not supported ``` **错误原因** 报错翻译过来是: ```python xlrd.biffh.xlrd错误:Excel xls
阅读全文
摘要:**报错信息** 使用Python正则匹配的时候,报如下错误: ```python AttributeError: 'NoneType' object has no attribute 'group' ``` **错误原因** 报错翻译过来是: ```python 属性错误:“NoneType”对象
阅读全文
摘要:学习爬虫遇到的错误。 **报错信息:** ```python requests.exceptions.SSLError: HTTPSConnectionPool(host=’*****’, port=443): Max retries exceeded with url: / (Caused by
阅读全文
摘要:**报错信息** 在执行nlp自定义模型的训练函数的时候,报如下错误: ```python RuntimeError: expected scalar type Float but found Long ``` **错误原因** ```python 错误信息指出了问题所在:模型期望的数据类型是 fl
阅读全文
摘要:**报错信息** 使用python创建一个datetime.data类的时候,报如下错误: ```python TypeError: descriptor 'date' requires a 'datetime.datetime' object but received a 'int' ``` **
阅读全文
摘要:#### 报错信息 使用python对模型进行输出文件的过程中,报如下错误: ```python PermissionError: [Errno 13] Permission denied: 'xxx' ``` #### 错误原因 报错翻译过来是: ```python 权限错误:[errno 13]
阅读全文
摘要:#### 报错信息 ```python AttributeError: module 'tensorflow._api.v2.data' has no attribute 'AUTOTUNE' ``` #### 解决办法 ```python pip install -i https://pypi.d
阅读全文