当我在python中使用googletrans时出现GettingJSONDecodeError

时间:2019-04-09 06:46:00

标签: python-3.x google-translation-api

我正在使用googletrans将其他语言文本转换为英语,但是我遇到了以下错误:

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

from googletrans import Translator
translator = Translator()
translation = translator.translate('東京海洋大学')
print (translation)

0 个答案:

没有答案