Я пытался прочитать метаданные (из http://jmcauley.ucsd.edu/data/amazon/links.html) в формате json. В нем есть следующая ошибка. Кто-нибудь может мне помочь?
text-classification-python-master xupin$ python data_prep.py
Traceback (most recent call last):
File "data_prep.py", line 79, in <module>
content = json.load(open('dumps/all_products.json'), encoding='utf8')
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 291, in load
**kw)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 352, in loads
return cls(encoding=encoding, **kw).decode(s)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 1 column 2 (char 1)