Skip to content

今天安装跑不起来了 json.decoder.JSONDecodeError,前天还不会出现此问题 #39

@alexhmyang

Description

@alexhmyang

你们现在重新装 会报错,以前装的不会 ,应该是 python环境变化了

image

chatdoc-backend | Traceback (most recent call last):
chatdoc-backend | File "/data/main.py", line 3, in
chatdoc-backend | from doc_util import Doc
chatdoc-backend | File "/data/doc_util.py", line 19, in
chatdoc-backend | CJKPDFReader = download_loader("CJKPDFReader")
chatdoc-backend | File "/usr/local/lib/python3.9/site-packages/llama_index/readers/download.py", line 125, in download_loader
chatdoc-backend | library = json.loads(library_raw_content)
chatdoc-backend | File "/usr/local/lib/python3.9/json/init.py", line 346, in loads
chatdoc-backend | return _default_decoder.decode(s)
chatdoc-backend | File "/usr/local/lib/python3.9/json/decoder.py", line 340, in decode
chatdoc-backend | raise JSONDecodeError("Extra data", s, end)
chatdoc-backend | json.decoder.JSONDecodeError: Extra data: line 1 column 4 (char 3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions