json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)


An error occurs when I run "import DGL "Please tell me how to solve the problem,3q!
my cuda is 10.2 dgl:cu102. torch:1.8.0
config.json:python -m dgl.backend.set_default_backend [pytorch]

Hi,

This will check the config file at “~/.dgl/config.json”, which should be located as “%USERDATA%/.dgl/config.json” on windows, could you try delete this file and run again?

Many thanks for your help,When I delete the entire folder, no error is reported. :smile: :smile: :smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.