rusty1s/pytorch_sparse

Win10 : Cannot install torch-sparse

nukadelic opened this issue · 2 comments

System : Windows 10 OS
Conda : 23.9.0
GPU : NVIDIA RTX 3060 Laptop

I got a venv with python==3.8.15 and installed the following

pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113

but it seems to fail to install torch-sparse for some reason

pip install --no-index --no-cache-dir torch-cluster torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-1.11.0+cu113.html

output

Looking in links: https://data.pyg.org/whl/torch-1.11.0+cu113.html
Collecting torch-cluster
  Downloading https://data.pyg.org/whl/torch-1.11.0%2Bcu113/torch_cluster-1.6.0-cp38-cp38-win_amd64.whl (2.7 MB)
     ---------------------------------------- 2.7/2.7 MB 2.1 MB/s eta 0:00:00
Collecting torch-scatter
  Downloading https://data.pyg.org/whl/torch-1.11.0%2Bcu113/torch_scatter-2.0.9-cp38-cp38-win_amd64.whl (2.9 MB)
     ---------------------------------------- 2.9/2.9 MB 2.2 MB/s eta 0:00:00
Collecting torch-sparse
  Downloading https://data.pyg.org/whl/torch-1.11.0%2Bcu113/torch_sparse-0.6.15-cp38-cp38-win_amd64.whl (3.8 MB)
     ---------------------------------------- 3.8/3.8 MB 2.9 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of torch-sparse to determine which version is compatible with other requirements. This could take a while.
  Downloading https://data.pyg.org/whl/torch-1.11.0%2Bcu113/torch_sparse-0.6.14-cp38-cp38-win_amd64.whl (3.8 MB)
     ---------------------------------------- 3.8/3.8 MB 2.6 MB/s eta 0:00:00
  Downloading https://data.pyg.org/whl/torch-1.11.0%2Bcu113/torch_sparse-0.6.13-cp38-cp38-win_amd64.whl (3.8 MB)
     ---------------------------------------- 3.8/3.8 MB 2.1 MB/s eta 0:00:00
ERROR: Cannot install torch-sparse==0.6.13, torch-sparse==0.6.14 and torch-sparse==0.6.15 because these package versions have conflicting dependencies.

The conflict is caused by:
    torch-sparse 0.6.15 depends on scipy
    torch-sparse 0.6.14 depends on scipy
    torch-sparse 0.6.13 depends on scipy

Mh, this issue is new to me. What happens if you run pip install scipy before?

This issue had no activity for 6 months. It will be closed in 2 weeks unless there is some new activity. Is this issue already resolved?