Failing in installing torch-cluster package

Hi everybody,

I am new in replit. I am trying to install torch-cluster package through the Package Manager but it fails to give that error:

Failed to add packages, reverting
 the pyproject.toml file to its original content.
exit status 1
Replit: Package operation failed.

Does someone have an idea? I also tried through $ pip install torch-cluster directly from the shell, but again an Error is risen.
I also have to install torch-geometric, torch-sparse, and torch-scatter too.

Hey @RiccardoBeccari welcome to the forum.

Can you please share a link to the repl?

1 Like

Thanks Ethan, yes sure. Here is the link:

https://replit.com/@RiccardoBeccari/e3nndipole#e3nn_dipole/dipoles_batch.py

fork this, or run in shell:

poetry add https://data.pyg.org/whl/torch-1.10.0%2Bcpu/torch_sparse-0.6.13-cp38-cp38-linux_x86_64.whl https://data.pyg.org/whl/torch-1.10.0%2Bcpu/torch_scatter-2.0.9-cp38-cp38-linux_x86_64.whl https://data.pyg.org/whl/torch-1.9.0%2Bcu111/torch_cluster-1.5.9-cp38-cp38-linux_x86_64.whl

The problem was likely that it the compiler process was killed by the out-of-memory killer. This installs precompiled wheels.

2 Likes