Installation instructions don't work
😵 Describe the installation problem
The instructions on how to install pyg with cuda support doesn't work (conda install pyg=*=*cu* -c pyg, taken from https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html). Tried in a fresh conda environment.
(Using the blocks conda, PyTorch 2.3, cuda 12.1 and linux)
Could not solve for environment specs
The following packages are incompatible
└─ pyg * *cu* is installable with the potential options
├─ pyg [2.0.0|2.0.1|2.0.2|2.0.3] would require
│ └─ python >=3.6,<3.7.0a0 , which can be installed;
├─ pyg [2.0.0|2.0.1|...|2.3.1] would require
│ └─ python >=3.7,<3.8.0a0 , which can be installed;
├─ pyg [2.0.0|2.0.1|...|2.5.2] would require
│ └─ python >=3.8,<3.9.0a0 , which can be installed;
├─ pyg [2.0.0|2.0.1|...|2.5.2] would require
│ └─ python >=3.9,<3.10.0a0 , which can be installed;
├─ pyg [2.1.0|2.2.0|...|2.5.2] would require
│ └─ python >=3.10,<3.11.0a0 , which can be installed;
├─ pyg [2.1.0|2.2.0|...|2.5.2] would require
│ └─ pytorch-cuda 11.7.* , which does not exist (perhaps a missing channel);
├─ pyg [2.1.0|2.2.0|...|2.5.2] would require
│ └─ pytorch-cuda 11.6.* , which does not exist (perhaps a missing channel);
├─ pyg [2.3.0|2.3.1|...|2.5.2] would require
│ └─ pytorch-cuda 11.8.* , which does not exist (perhaps a missing channel);
└─ pyg [2.4.0|2.5.0|2.5.1|2.5.2] would require
└─ pytorch-cuda 12.1.* , which does not exist (perhaps a missing channel).
```
### Environment
* OS: Ubuntu
* Python version: 3.11
* How you installed PyTorch and PyG (`conda`, `pip`, source): conda
Does conda install pyg -c pyg work for you?
And what happens if you run conda install pyg -c pyg -c nvidia -c pytorch?
And what happens if you run
conda install pyg -c pyg -c nvidia -c pytorch?
yes, this does the trick! (without the additional channels, it won't work)
Hi, @jonas-eschle how did you make pyg work with PyTorch 2.3? It seems the published pyg package on anaconda does not support PyTorch 2.3 at all.
I simlpy used conda install pyg -c pyg -c nvidia -c pytorch (FYI, I also have conda-forge as a channel)
Thanks! @jonas-eschle. Unfortunately, this command still does not work for me, where conda complained conflict packages. As a workaround, I installed pyg via PyPI in the end.
And what happens if you run
conda install pyg -c pyg -c nvidia -c pytorch?
Actually this worked for me