"ModuleNotFoundError: No module named 'torch_scatter.scatter_cpu'" on Windows 10
See original GitHub issueHi, Thanks for the awesome library. I used to use torch-scatter a lot on windows and linux. Here I tried to install and play with torch-scatter. But I got a fatal error
import torch_scatter
Traceback (most recent call last): File “<stdin>”, line 1, in <module> File “C:\Users\joon0\dev\pytorch_scatter\torch_scatter_init_.py”, line 3, in <module> from .mul import scatter_mul File “C:\Users\joon0\dev\pytorch_scatter\torch_scatter\mul.py”, line 3, in <module> from torch_scatter.utils.ext import get_func File “C:\Users\joon0\dev\pytorch_scatter\torch_scatter\utils\ext.py”, line 2, in <module> import torch_scatter.scatter_cpu ModuleNotFoundError: No module named ‘torch_scatter.scatter_cpu’
I install torch-scatter from source via the following commend
$ python setup.py install
On my machine, It has GPU and cuda. BUT I installed pytorch-cpu, NOT gpu version.
Here’s building log. log.txt
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Oh. I guess I found the issue. As you suggested, I delete preinstalled packages multiple times and I got out of PyTorch-scatter directory and reinstall torch-scatter again trough pip, I magically run. Thanks for the support!
This issue had no activity for 6 months. It will be closed in 2 weeks unless there is some new activity.