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

Only reminder missing torch_geometric when initializing Raindrop #380

Closed
WenjieDu opened this issue May 5, 2024 · 0 comments
Closed

Only reminder missing torch_geometric when initializing Raindrop #380

WenjieDu opened this issue May 5, 2024 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@WenjieDu
Copy link
Owner

WenjieDu commented May 5, 2024

Issue description

In current version, when importing from pypots in an env without torch_geometric, it will raise missing error, but this is not what we expect. This error should only be raised when initializing necessary models that depend on missing torch_geometric, e.g. Raindrop.

>>> import pypots
2024-05-05 23:00:33 [ERROR]: ❌ No module named 'torch_geometric'
Note torch_geometric is missing, please install it with 'pip install torch_geometric torch_scatter torch_sparse' or 'conda install -c pyg pyg pytorch-scatter pytorch-sparse'
2024-05-05 23:00:33 [ERROR]: ❌ name 'MessagePassing' is not defined
Note torch_geometric is missing, please install it with 'pip install torch_geometric torch_scatter torch_sparse' or 'conda install -c pyg pyg pytorch-scatter pytorch-sparse'
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant