Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytest.importorskip("dgl") errors a lot #103

Closed
lilyminium opened this issue Apr 5, 2024 · 0 comments · Fixed by #110
Closed

pytest.importorskip("dgl") errors a lot #103

lilyminium opened this issue Apr 5, 2024 · 0 comments · Fixed by #110

Comments

@lilyminium
Copy link
Collaborator

This keeps happening for some reason:

 ________ ERROR collecting openff/nagl/tests/molecule/dgl/test_batch.py _________
openff/nagl/tests/molecule/dgl/test_batch.py:7: in <module>
    dgl = pytest.importorskip("dgl")
../../../micromamba/envs/openff-nagl-test/lib/python3.10/site-packages/dgl/__init__.py:14: in <module>
    from .backend import backend_name, load_backend  # usort: skip
../../../micromamba/envs/openff-nagl-test/lib/python3.10/site-packages/dgl/backend/__init__.py:122: in <module>
    load_backend(get_preferred_backend())
../../../micromamba/envs/openff-nagl-test/lib/python3.10/site-packages/dgl/backend/__init__.py:107: in get_preferred_backend
    config_dict = json.load(config_file)
../../../micromamba/envs/openff-nagl-test/lib/python3.10/json/__init__.py:293: in load
    return loads(fp.read(),
../../../micromamba/envs/openff-nagl-test/lib/python3.10/json/__init__.py:346: in loads
    return _default_decoder.decode(s)
../../../micromamba/envs/openff-nagl-test/lib/python3.10/json/decoder.py:337: in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
../../../micromamba/envs/openff-nagl-test/lib/python3.10/json/decoder.py:355: in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
E   json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant