torch-geometric
Note that I'm addicted to various things when installing to use on windows that only has cpu loaded, not on google colab.
In principle, if you do it this way, you can do it on a Mac.
I used to use `conda install``` with ```Anaconda```, but it seems that only Linux can install with
`conda install -c ostrokach-forge torch-geometric``` ( Reference: Torch Geometric :: Anaconda Cloud).
PyTorch Forums[Pytorch and torch cpu version](https://discuss.pytorch.org/t/pytorch-and-torch-cpu-version/73020)According to
pip install torch-scatter==latest+cpu torch-sparse==latest+cpu pip install torch-cluster (optional) pip install torch-spline-conv (optional) python setup.py install or pip install torch-geometric
It was written, but I'm still addicted to this.
### Solution
pip install torch==1.2.0+cpu torchvision==0.4.0+cpu -f https://download.pytorch.org/whl/torch_stable.html pip install torch-scatter==latest+cpu torch-sparse==latest+cpu -f https://pytorch-geometric.com/whl/torch-1.4.0.html pip install torch-cluster==latest+cpu -f https://pytorch-geometric.com/whl/torch-1.4.0.html pip install torch-spline-conv==latest+cpu -f https://pytorch-geometric.com/whl/torch-1.4.0.html pip install torch-geometric
This will install everything. But even this is addictive. This is due to not being ``` torch-1.4.0```, so
pip install --upgrade torch==1.4.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
(If you have installed ``` torch-1.4.0``` from the beginning, you can do it).
Now you can run `` `torch-geometric``` on Jupyter running on a CPU on Windows! !!
## reference
https://discuss.pytorch.org/t/pytorch-and-torch-cpu-version/73020/2
https://anaconda.org/ostrokach-forge/torch-geometric