rusty1s / pytorch_scatter

PyTorch Extension Library of Optimized Scatter Operations
https://pytorch-scatter.readthedocs.io
MIT License
1.5k stars 178 forks source link

Unable to install torch_scatter with poetry #429

Closed quentinblampey closed 3 months ago

quentinblampey commented 3 months ago

Hello,

I have issues installing torch_scatter with poetry, which is because torch is not listed as a dependency of the package (as mentioned in this issue). Some people gave solutions which specify a wheel or enforce a cpu usage, which are not good solutions.

Do you have a solution for this? If this can't be fixed with poetry, is there another dependency manager that works well with torch_scatter?

I'm open to changing poetry to another dependency manager if needed. All I want is to have a clean "pip install" of my package for users. Indeed, currently, I need to install torch_scatter separately from the rest of the installation, which is not very convenient and can lead to several issues (for instance, the latest version of torch_scatter doesn't work with torch>=2.1 on macOS ARM64).

quentinblampey commented 3 months ago

Close because duplicated