pytorch_geometric icon indicating copy to clipboard operation
pytorch_geometric copied to clipboard

Unable to Install with PyTorch 2.3.1

Open erenaydoslu opened this issue 1 year ago • 1 comments

😵 Describe the installation problem

Running the following steps leads to a UnsatisfiableError:

  1. Created a new Conda environment with Python 3.11.9
  2. Installed the latest stable PyTorch version (2.3.1) using the following command: conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
  3. Tried to install PyTorch Geometric via the following command: conda install pyg -c pyg

However, during the last step, Conda finds conflicts and tries to solve it. Eventually leading to an UnsatisfaibleError with the following logs:

UnsatisfiableError: The following specifications were found to be incompatible with a past explicit spec that is not an explicit spec in this operation (pytorch-cuda):

  - pyg -> pytorch-cuda[version='11.6.*|11.7.*|11.8.*|12.1.*']
  - pyg -> pytorch[version='1.10.*|1.11.*|1.12.*|1.13.*|2.0.*|2.1.*|2.2.*|1.9.*|1.8.*']

Followed by every conflict for every library installed.

Environment

  • PyG version: latest
  • PyTorch version: 2.3.1
  • OS: Windows 11 - 23H2
  • Python version: 3.11.9
  • CUDA/cuDNN version: 12.1
  • How you installed PyTorch and PyG (conda, pip, source): conda
  • Any other relevant information (e.g., version of torch-scatter): n/a

erenaydoslu avatar Jun 25 '24 10:06 erenaydoslu

Oh, I see. It looks like pytorch-cuda is not correctly respected on our end.

rusty1s avatar Jul 06 '24 06:07 rusty1s

could try https://catalog.ngc.nvidia.com/orgs/nvidia/containers/pyg

puririshi98 avatar Feb 13 '25 01:02 puririshi98