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

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

Open
qizou97 opened this issue Apr 6, 2023 · 2 comments
Open

Comments

@qizou97
Copy link

qizou97 commented Apr 6, 2023

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.

@weihua916
Copy link
Contributor

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.

@qizou97
Copy link
Author

qizou97 commented Apr 7, 2023

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

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

No branches or pull requests

2 participants