snap-stanford / ogb

Benchmark datasets, data loaders, and evaluators for graph machine learning
https://ogb.stanford.edu
MIT License
1.89k stars 397 forks source link

Resolution for Import Error, Solve `import PygNodePropPredDataset` hang the program #473

Closed LukeLIN-web closed 5 months ago

LukeLIN-web commented 5 months ago

To address the issue described in GitHub issue #461, it is identified that the problem lies in the following code snippet:

File "/opt/conda/lib/python3.10/site-packages/joblib/backports.py", line 22, in <module> import distutils # noqa

In newer versions of joblib, the import of distutils is no longer necessary.

To resolve this, consider updating your code or the library to the latest version, as newer versions of joblib have eliminated the need for the explicit import of distutils. This should resolve the issue and prevent the mentioned error.