TA的每日心情 | 开心 2023-7-17 18:58 |
---|
签到天数: 1423 天 [LV.10]以坛为家III
|
发表于 2018-11-23 19:50:36
|
显示全部楼层
有错误,用不了啊3 @; ?- c L/ `( @$ y, h$ y5 a
查询错误:程序返回,退出代码为 1. Traceback (most recent call last): File "D:\GoldenDict\translate.py", line 27, in <module> gg_trans = translator.translate(sys.argv[1], dest='zh-cn').text File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\googletrans\client.py", line 132, in translate data = self._translate(text, dest, src) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\googletrans\client.py", line 57, in _translate token = self.token_acquirer.do(text) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\googletrans\gtoken.py", line 180, in do self._update() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\googletrans\gtoken.py", line 59, in _update code = unicode(self.RE_TKK.search(r.text).group(1)).replace('var ', '') AttributeError: 'NoneType' object has no attribute 'group' |
|