teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

エラー内容

2021/02/06 02:05

投稿

watchdogs
watchdogs

スコア54

title CHANGED
File without changes
body CHANGED
@@ -19,13 +19,13 @@
19
19
  f_trans.write(translate(input))
20
20
  File "translate.py", line 124, in translate
21
21
  return r_post.json()["text"]
22
- File "/Users/YuyaSuzuki/anaconda3/lib/python3.6/site-packages/requests/models.py", line 900, in json
22
+ File "/Users/User/anaconda3/lib/python3.6/site-packages/requests/models.py", line 900, in json
23
23
  return complexjson.loads(self.text, **kwargs)
24
- File "/Users/YuyaSuzuki/anaconda3/lib/python3.6/json/__init__.py", line 354, in loads
24
+ File "/Users/User/anaconda3/lib/python3.6/json/__init__.py", line 354, in loads
25
25
  return _default_decoder.decode(s)
26
- File "/Users/YuyaSuzuki/anaconda3/lib/python3.6/json/decoder.py", line 339, in decode
26
+ File "/Users/User/anaconda3/lib/python3.6/json/decoder.py", line 339, in decode
27
27
  obj, end = self.raw_decode(s, idx=_w(s, 0).end())
28
- File "/Users/YuyaSuzuki/anaconda3/lib/python3.6/json/decoder.py", line 357, in raw_decode
28
+ File "/Users/User/anaconda3/lib/python3.6/json/decoder.py", line 357, in raw_decode
29
29
  raise JSONDecodeError("Expecting value", s, err.value) from None
30
30
  json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
31
31