pyg-team / pytorch_geometric

Graph Neural Network Library for PyTorch
https://pyg.org
MIT License
20.52k stars 3.57k forks source link

Unable to Install with PyTorch 2.3.1 #9458

Open erenaydoslu opened 5 days ago

erenaydoslu commented 5 days ago

😵 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