ogb __init__.py file issues when running from terminal #339
DenisTurcu
started this conversation in
General
Replies: 1 comment
-
Might be related to #322. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I encountered a weird issue when running most of the provided examples from the terminal. The issue does not appear when copying and accordingly adjusting the respective main*.py files code into Jupyter notebooks and running from there, or when running in debug mode.
The issue is that, when running from the terminal as instructed (e.g. "python main_pyg.py" for graph prediction on ogbg-molhiv), the program stalls and does nothing. After many hours of tracing the problem, I have found that commenting or emptying the ogb/init.py file solves this issue, but then I do not have access to ogb.version (not a big problem, though). The new ogb/init.py file needs to be empty, meaning I had to delete the following line:
from .version import __version__
Anyone else having this weird issue? I installed from scratch on both Ubuntu and Mac on different computers and got the same problem. Any suggestions how to fix it properly?
Beta Was this translation helpful? Give feedback.
All reactions