-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup.py depends on torch
#204
Comments
The only workaround for this right now is to install from the wheels page (i.e., by specifying |
hmm. I did that but it doesn't work. I tried installing (copy pasted from the README) via pip install torch-cluster -f https://data.pyg.org/whl/torch-2.1.0+cpu.html System specs:
Btw, independent of the issue above, surely |
That's because you are trying to install on Apple M2 for which do not exist pre-built wheels (only for Intel-Mac at the moment) :( |
Okay, understood. Thanks! |
I would like to create a python package that installs its dependencies properly using
pip
.Unfortunately, the install fails because pytorch-cluster expects
torch
to already be installed.Simply trying to install torch-cluster using
pip install torch-cluster
fails. First, you need to install pytorch, and only then install pytorch-cluster.Originally I hoped it would simply suffice to add
torch
here. But the setup.py depends on torch to build. It seems that pytorch C++ extensions are done in this way.Is there any workaround (using
pip
)?The text was updated successfully, but these errors were encountered: