rusty1s / pytorch_unique

PyTorch Extension Library of Optimized Unique Operation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR: Failed building wheel for torch-unique

shirancohen2016 opened this issue · comments

On Google Colab.

Collecting torch-unique
Downloading https://files.pythonhosted.org/packages/6f/e1/04d4919f2e8bdd1381eae4c5455c9885757e71a5c2f4ddf897756192ac3b/torch_unique-1.0.3.tar.gz
Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (from torch-unique) (1.17.4)
Building wheels for collected packages: torch-unique
Building wheel for torch-unique (setup.py) ... error
ERROR: Failed building wheel for torch-unique
Running setup.py clean for torch-unique
Failed to build torch-unique
Installing collected packages: torch-unique
Running setup.py install for torch-unique ... error
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a6i9zk_v/torch-unique/setup.py'"'"'; file='"'"'/tmp/pip-install-a6i9zk_v/torch-unique/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-jxd38i9u/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.

This is not the actual error message. Do you still need this package? It is actually deprecated since PyTorch provides its own unique function.