You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first combination: torch-cluster-1.6.0+pt113cu117, torch-scatter-2.1.0+pt113cu117, torch-sparse-0.6.16+pt113cu117, torch-spline-conv-1.2.1+pt113cu117. Installing torch-geometric-2.5.1 gave me an error**:** **Could not find module 'D:\Softwares\Anaconda\envs\pytorch\Lib\site-packages\torch_cluster_grid_cuda.pyd' (or one of its dependencies). Try using the full path with constructor syntax.**I've tried upgrading or downgrading torch-geometric, neither works. However, some versions display torch-sparse errors.
On top of that, I tried different versions of the dependency libraries. torch-cluster-1.6.1+pt113cu117, torch-scatter-2.1.1+pt113cu117, torch-sparse-0.6.17+pt113cu117, torch-spline-conv-1.2.2+pt113cu117. The same error will be displayed, but of a different type.AttributeError: partially initialized module 'torch_geometric' has no attribute 'typing' (most likely due to a circular import)
Overall, different torch_geometric versions cause different dependent libraries to report errors, not sure how to fix that.
Environment
PyG version:2.5.2
PyTorch version:1.13.1
OS:
Python version:2.8.2
CUDA/cuDNN version:11.7
How you installed PyTorch and PyG (conda, pip, source): pip
Any other relevant information (e.g., version of torch-scatter):
The text was updated successfully, but these errors were encountered:
Could not find module 'D:\Softwares\Anaconda\envs\pytorch\Lib\site-packages\torch_cluster_grid_cuda.pyd'
I am wondering why it picks up this part. Can you confirm that _grid_cuda.pyg exist in D:\Softwares\Anaconda\envs\pytorch\Lib\site-packages\torch_cluster?
And here's another weird thing. ''from torch_geometric.data import InMemoryDataset, download_url'' This command works. However, ''from torch_geometric.nn import GCNConv'', this command reports an error that the file _grid_cuda.pyg could not be found.
I deleted all the libraries and reinstalled them again. I still get an error at 'torch_geometric.nn' with the message: 'Could not find module 'D:\Softwares\Anaconda\envs\pytorch\Lib' (or one of its dependencies). site-packages\torch_cluster_grid_cuda.pyd' (or one of its dependencies). Try using the full path with constructor syntax.''
Similarly, the command 'import torch_geometric.datasets' also gives the same error.
But I double-checked the torch_cluster folder and found that the file '_grid_cuda.pyd' is in that folder, but it tells me I can't find it.
馃樀 Describe the installation problem
The first combination: torch-cluster-1.6.0+pt113cu117, torch-scatter-2.1.0+pt113cu117, torch-sparse-0.6.16+pt113cu117, torch-spline-conv-1.2.1+pt113cu117. Installing torch-geometric-2.5.1 gave me an error**:** **Could not find module 'D:\Softwares\Anaconda\envs\pytorch\Lib\site-packages\torch_cluster_grid_cuda.pyd' (or one of its dependencies). Try using the full path with constructor syntax.**I've tried upgrading or downgrading torch-geometric, neither works. However, some versions display torch-sparse errors.
On top of that, I tried different versions of the dependency libraries. torch-cluster-1.6.1+pt113cu117, torch-scatter-2.1.1+pt113cu117, torch-sparse-0.6.17+pt113cu117, torch-spline-conv-1.2.2+pt113cu117. The same error will be displayed, but of a different type.AttributeError: partially initialized module 'torch_geometric' has no attribute 'typing' (most likely due to a circular import)
Overall, different torch_geometric versions cause different dependent libraries to report errors, not sure how to fix that.
Environment
conda
,pip
, source): piptorch-scatter
):The text was updated successfully, but these errors were encountered: