1

I'm trying to install several PyTorch-related packages in Colab, but the installation process gets stuck in an infinite loop and doesn't complete, even though it doesn't give any error messages. I'm uninstalling and reinstalling the packages, but the installation process doesn't finish. Below is the code I am using:

import torch
!pip uninstall torch-scatter torch-sparse torch-geometric torch-cluster --y
!pip install torch-scatter -f https://data.pyg.org/whl/torch-{torch.__version__}.html --no-cache-dir
!pip install torch-sparse -f https://data.pyg.org/whl/torch-{torch.__version__}.html
!pip install torch-cluster -f https://data.pyg.org/whl/torch-{torch.__version__}.html
!pip install git+https://github.com/pyg-team/pytorch_geometric.git

The process seems to go into a loop without completing. Could someone please explain why this might be happening and how to fix it?

2
  • 1
    Can you install them one at a time and find which package causes the problem ? Commented Nov 11, 2024 at 12:26
  • I edited the question with 5 different installs happening at the same time. Please clarify which is stucked. Commented Feb 16 at 5:36

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.