torch sparse version bug
See original GitHub issue! pip install torch-scatter==latest+cu101 -f https://pytorch-geometric.com/whl/torch-1.5.0.html
! pip install torch-sparse==latest+cu101 -f https://pytorch-geometric.com/whl/torch-1.5.0.html
! pip install torch-cluster==latest+cu101 -f https://pytorch-geometric.com/whl/torch-1.5.0.html
! pip install torch-spline-conv==latest+cu101 -f https://pytorch-geometric.com/whl/torch-1.5.0.html
! pip install torch-geometric
normally, it works. I can not import any from torch_geometric. Error
OSError: /usr/local/lib/python3.6/dist-packages/torch_sparse/_version.so: undefined symbol: _ZN3c105ErrorC1ENS_14SourceLocationERKSs
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Memory bug for backward on torch.sparse.mm? · Issue #41128
Bug To Reproduce Steps to reproduce the behavior: import torch import numpy ... PyTorch Version (e.g., 1.0): 1.4.0; OS (e.g., Linux): Ubuntu ...
Read more >Error building wheel for torch-sparse (error installing pytorch ...
This error pops out from time to time and it has to do with the torch and cuda versions. So far, the solutions...
Read more >torch-sparse - PyPI
PyTorch Sparse. PyPI Version Testing Status Linting Status Code Coverage. This package consists of a small extension library of optimized sparse matrix ...
Read more >torch.sparse — PyTorch 1.13 documentation
The PyTorch API of sparse tensors is in beta and may change in the near future. We highly welcome feature requests, bug reports...
Read more >Installation — pytorch_geometric documentation
python -c "import torch; print(torch.version.cuda)" >>> 11.6. Install the relevant packages: pip install pyg-lib torch-scatter torch-sparse -f ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Your installation of torch==1.5.0 is fine, the problem is within torchvision. You either need the correct torchvision version for PyTorch 1.5.0, or uninstall it completely for PyG (it‘s not really needed).