-
Notifications
You must be signed in to change notification settings - Fork 336
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
unable to import PygPCQN4MDataset #43
Comments
It seems an exteranl dependence problem. Do you use the required environment? |
yes, I installed everything that was recommended. Is it something to do with colab? |
We have not tested our code on colab. If I remember right, colab will pre-install several commonly-used depencencies, which might cause a version conflict. Maybe you can try in a clean conda environment or a docker. |
okay I will check it. Thanks for the timely reply. It means a lot. |
Did you solve it? I also encountered this problem. |
@shiokoo yeah, if you are working on colab than don't install requirements at once. Only install packages which are not preinstalled on colab plus it seemed I didn't installed |
Oh, I try it on PyCharm, although I install rdkit, the error still exists. Anyway, thanks you a lot. |
@shiokoo |
yeah, I solved it. This may be a version problem of rdkit that rdkit.Chem can't be imported. You can re-install rdkit, using following command:
after that, if you still have some bugs, maybe the following command will help you.
|
Thank you for your prompt response, it means a lot to me. |
hi, I am having trouble importing PygPCQN4MDataset, I ran the following line of code
from ogb.lsc.pcqm4m_pyg import PygPCQM4MDataset
and it threw this errorImportError: cannot import name 'smiles2graph' from 'ogb.utils' (/usr/local/lib/python3.7/dist-packages/ogb/utils/__init__.py)
. I am trying to run it the code on colab and fulfilled requirements of code but this error poped up.The text was updated successfully, but these errors were encountered: