snap-stanford / ogb

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

Cannot import PygPCQM4Mv2Dataset #275

Closed rhjohnstone closed 2 years ago

rhjohnstone commented 2 years ago

OGB version 1.3.2, Python 3.8.10.

Simply running

from ogb.lsc import PygPCQM4Mv2Dataset

as per the instructions, returns ImportError: cannot import name 'PygPCQM4Mv2Dataset' from 'ogb.lsc' (/opt/miniconda3/envs/ogb/lib/python3.8/site-packages/ogb/lsc/__init__.py)

Edit: the same happens with the standard PCQM4Mv2Dataset, too.

weihua916 commented 2 years ago

Did you install rdkit?

rhjohnstone commented 2 years ago

I thought I had, but you're right, it was a different environment! Thanks 😳