Could not find module _convert_cpu.pyd
See original GitHub issue😵 Describe the installation problem
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\CodeEnv\Python\lib\site-packages\torch_geometric\__init__.py", line 4, in <module>
import torch_geometric.data
File "C:\CodeEnv\Python\lib\site-packages\torch_geometric\data\__init__.py", line 1, in <module>
from .data import Data
File "C:\CodeEnv\Python\lib\site-packages\torch_geometric\data\data.py", line 20, in <module>
from torch_sparse import SparseTensor
File "C:\CodeEnv\Python\lib\site-packages\torch_sparse\__init__.py", line 19, in <module>
torch.ops.load_library(spec.origin)
File "C:\CodeEnv\Python\lib\site-packages\torch\_ops.py", line 255, in load_library
ctypes.CDLL(path)
File "C:\CodeEnv\Python\lib\ctypes\__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'C:\CodeEnv\Python\Lib\site-packages\torch_sparse\_convert_cpu.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
Similar to issues#2850, issues#5394
Environment
- PyG version: 2.1.0
- PyTorch version: 1.12.0
- OS: Win10
- Python version: 3.9.12
- CUDA/cuDNN version: None
- How you installed PyTorch and PyG (
conda
,pip
, source): pip - Any other relevant information (e.g., version of
torch-scatter
): torch-scatter==2.0.9, torch-sparse==0.6.15
Issue Analytics
- State:
- Created 10 months ago
- Comments:6
Top Results From Across the Web
Untitled
Fix back-tracking Unicode properties in non-UTF-8 mode (Resolves: #866520) - Fix pcregrep -Mv looping bug (Resolves: #859959) - Do not loop while compiling ......
Read more >kernel-firmware-2.6.32-220.7.1.el6.centos.plus RPM for noarch
Name: kernel-firmware, Distribution: Unknown. Version: 2.6.32, Vendor: CentOS. Release: 220.7.1.el6.centos.plus, Build date: Wed Mar 7 11:05:16 2012.
Read more >Untitled
When did ebola come to nigeria, Small nice tattoos for girls! ... Ots watch price, Mnemonics images, 50 cent i don't know officer...
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
The reason is that vs_BuildTools is missing, and the problem has been solved after installation.
如果在Linux上使用jupyter,直接下载即可,windows设备需要以上操作