会员中心 VIP福利社 VIP免费专区 VIP专属特权 客户端 登录 百度文库 其他 'nonetype' object has no attribute 'text'翻译'nonetype' object has no attribute 'text'翻译 "nonetype"对象没有属性"text"©2022 Baidu |由 百度智能云 提供计算服务 | 使用百度前必读 | 文库协议 | 网站地图 | 百度营销 ...
待解决 悬赏分:1 - 离问题结束还有 NoneType' object has no attribute 'group'问题补充:匿名 2013-05-23 12:21:38 NoneType '对象有没有属性'组' 匿名 2013-05-23 12:23:18 NoneType对象没有属性‘小组’ 匿名 2013-05-23 12:24:58 NoneType对象没有属性‘小组’ 匿名 2013-05-23 12:26...
在使用NumPy进行数组计算时,有时会遇到"AttributeError: 'NoneType' object has no attribute 'array_...
AttributeError: 'NoneType' object has no attribute 'group' 解决办法 重新安装指定版本的googletrans==4.0.0-rc1 pip install googletrans==4.0.0-rc1 # 导入google翻译接口工具fromgoogletransimportTranslator# 实例化翻译对象translator=Translator(service_urls=['translate.google.cn'])# translator = Translator()...
3print(f"{translation.origin} ({translation.src}) --> {translation.text} ({translation.dest})") 这将打印原始文本和语言以及翻译后的文本和语言: 1Hola Mundo (es)--> Hello World (en) 如果上面的代码导致这样的错误: 1AttributeError:'NoneType'...