Open Aditi138 opened 2 years ago
I couldn't get this to work either; quick workaround for this is to use pre-built wheels - they're available at: https://data.pyg.org/whl/torch-1.9.0+${CUDA}.html
- so for you it'll be here then just pick your python/OS, copy the link address and do pip install <address>
.
I also encountered this problem. This can be solved by downloading torch-scatter.whl and torch-sparse.whl from https://pytorch-geometric.com/whl/torch-1.6.0+cu102.html, and install them manually.
pip install torch-scatter==2.0.6 torch-sparse==0.6.9 -f https://data.pyg.org/whl/torch-1.6.0%2Bcu101.html
worked for me
Hello,
I am trying the exact same commands specified in the README but I run into an issue in the step pip install torch-scatter torch-sparse -f https://pytorch-geometric.com/whl/torch-1.6.0+cu102.html
I am getting the following error: /anaconda2/envs/ewiser/lib/python3.7/site-packages/torch/include/ATen/core/interned_strings.h:415:1: note: in expansion of macro ‘FORALL_NS_SYMBOLS’ FORALL_NS_SYMBOLS(DEFINE_SYMBOL) ^
~~~~ error: command 'gcc' failed with exit status 1ERROR: Command errored out with exit status 1: anaconda2/envs/ewiser/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-kouq5f1x/torch-sparse_cd2910acb4354bf6868ba6699efa7d35/setup.py'"'"'; file='"'"'/tmp/pip-install-kouq5f1x/torch-sparse_cd2910acb4354bf6868ba6699efa7d35/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f
I looked online and the solution mentioned was using python binaries (the same command as above) but that doesn't seem to be working, could you please help?