dmlc / dgl

Python package built to ease deep learning on graph, on top of existing DL frameworks.
http://dgl.ai
Apache License 2.0
13.46k stars 3.01k forks source link

ModuleNotFoundError: No module named 'dgl.graph' #3305

Closed TXacs closed 2 years ago

TXacs commented 3 years ago

🐛 Bug

When I run the gnns training, I got this error. I need help!

image

Environment

Additional context

VoVAllen commented 3 years ago

Could you try newer dgl such as 0.7?

TXacs commented 3 years ago

Could you try newer dgl such as 0.7?

yeah, I tried, got same error

jermainewang commented 3 years ago

Could you try python -c 'import dgl; print(dgl.__path__)'?

maxueqi commented 2 years ago

I got the same error. How did you solve it?

TXacs commented 2 years ago

I got the same error. How did you solve it?

Oh, sorry, I forgot it. Because I changed the research direction, it has been useless for several months.