I tried to run a script which is a bot that google questions based on a screenshot. A little hard to explain but yeah.
I tried to run the script by doing
python answer_bot.py
and I get this error
Traceback (most recent call last): File "answer_bot.py", line 284, in <module>
load_json() File "answer_bot.py", line 64, in load_json sample_questions =
json.loads(open("Data/questions.json").read()) File
"C:\Users\Phili\AppData\Local\Programs\Python\Python36-32\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError:
'charmap' codec can't decode byte 0x9d in position 94: character maps to
<undefined>
The script I'm trying to run is:
https://github.com/sushant10/HQ_Bot/blob/12f774c9f4b231aa8a0326f133ac968febf5241b/answer_bot.py