Installation problem with PyTorch's Geometric. "torch-scatter" produces an error with exit status 1
Could anyone if used PyTorch geometric before, help me resolve this issue. I'm having trouble installing torch-scatter from PyTorch Geometric to deal with some tabular data for question answering task based on TAPAS model. I presume there is a compile error at source. I tried checking other forums and found no solution for this yet.
Procedure followed to produce the error:
pip3 install torch==1.8.1+cpu torchvision==0.9.1+cpu torchaudio===0.8.1 -f https://download.pytorch.org/whl/torch_stable.html

pip3 install torch-scatter

Console output:
ERROR: Command errored out with exit status 1:

I also tried using the python -f flag and specifically tried to pull from the source at:
pip3 install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.1+cpu.html

Following are my PyTorch and CUDA versions with the respective imports and console outputs:
python -c &quot;import torch; print(torch.__version__)&quot;

Output:
1.8.1+cpu

CUDA version:
python -c &quot;import torch; print(torch.version.cuda)&quot;

Output:
None

Python version:
Python 3.7.5
 

Thank you very much for your time and guidance.

I had this problem too which is solved by install C++ build tools. You can install it from vs_buildtools.exe that is downloadable here
