TA的每日心情 | 擦汗 2020-5-7 23:49 |
|---|
签到天数: 4 天 [LV.2]偶尔看看I
|
发表于 2020-5-5 22:03:55
|
显示全部楼层
请问goldendict的命令怎么设置呢,试了几种方法好像都不行(win10). f3 T: O8 b4 Y0 S! j- z& l) \
" q2 b. R' j0 E2 h+ b: }暂时用的是试用token,返回的错误是:, \$ v4 F0 Z/ X4 W6 Q2 [' `& i6 S
5 s& j. F" ~, Y* D; e- C
查询错误:程序返回,退出代码为 1. Traceback (most recent call last): File "F:\book\Dictionary\python-dict-source\caiyun.py", line 30, in <module> target = tranlate(source, "auto2zh") File "F:\book\Dictionary\python-dict-source\caiyun.py", line 25, in tranlate return json.loads(response.text)['target'] KeyError: 'target' |
|