ogb icon indicating copy to clipboard operation
ogb copied to clipboard

When ogb is improted into the program, the program does not exit properly

Open qizou97 opened this issue 1 year ago • 2 comments

Minimum reproducible program: import ogb print(ogb.__version__)

Problem Cause: I tried to use from ogb.graphproppred import PygGraphPropPredDataset in my project and found that the program does not exit properly. I tried a simple test program, similar to the code in the minimally reproducible problem, and found that referencing ogb triggered the problem of the program not exiting properly.

I tried copying the relevant implementation from ogb locally and referencing it from a local package and found that the local package does not cause this problem. The only difference between the local and ogb implementations is that there is no if __name__ == '__main__' added to the code.

qizou97 avatar Apr 06 '23 14:04 qizou97

Hi! Thanks for reporting. Could you tell us a bit more about your environment? I cannot reproduce your issue. I can run import ogb; print(ogb.__version__) without any problem.

weihua916 avatar Apr 07 '23 06:04 weihua916

Python version 3.10.0, ogb version 1.3.5, Ubuntu 20.04.6 LTS.

qizou97 avatar Apr 07 '23 08:04 qizou97