Closed Issam-dz1 closed 1 year ago
Any chance you can post the full log? The shown error message is not very informative.
I run this command :
!pip install -r requirements.txt
/////////////////////////
torch_scatter==1.4.0
torch_sparse==0.4.3
torch_cluster==1.4.5
torch_geometric==1.3.2
tqdm==4.40.0
joblib==0.14.1
/////////////////////////
I get this error : >>>>
Collecting torch_scatter==1.4.0 Downloading torch_scatter-1.4.0.tar.gz (14 kB) Collecting torch_sparse==0.4.3 Downloading torch_sparse-0.4.3.tar.gz (11 kB) Collecting torch_cluster==1.4.5 Downloading torch_cluster-1.4.5.tar.gz (18 kB) Collecting torch_geometric==1.3.2 Downloading torch_geometric-1.3.2.tar.gz (126 kB) |████████████████████████████████| 126 kB 12.8 MB/s Collecting tqdm==4.40.0 Downloading tqdm-4.40.0-py2.py3-none-any.whl (54 kB) |████████████████████████████████| 54 kB 2.9 MB/s Collecting joblib==0.14.1 Downloading joblib-0.14.1-py2.py3-none-any.whl (294 kB) |████████████████████████████████| 294 kB 48.3 MB/s Requirement already satisfied: scipy in /usr/local/lib/python3.7/dist-packages (from torch_sparse==0.4.3->-r /content/requirements.txt (line 2)) (1.4.1) Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (from torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (1.18.1) Requirement already satisfied: networkx in /usr/local/lib/python3.7/dist-packages (from torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (2.6.3) Requirement already satisfied: scikit-learn in /usr/local/lib/python3.7/dist-packages (from torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (1.0.2) Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (2.23.0) Collecting plyfile Downloading plyfile-0.7.4-py3-none-any.whl (39 kB) Requirement already satisfied: pandas in /usr/local/lib/python3.7/dist-packages (from torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (1.3.5) Collecting rdflib Downloading rdflib-6.1.1-py3-none-any.whl (482 kB) |████████████████████████████████| 482 kB 46.2 MB/s Requirement already satisfied: h5py in /usr/local/lib/python3.7/dist-packages (from torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (3.1.0) Requirement already satisfied: googledrivedownloader in /usr/local/lib/python3.7/dist-packages (from torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (0.4) Requirement already satisfied: cached-property in /usr/local/lib/python3.7/dist-packages (from h5py->torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (1.5.2) Requirement already satisfied: pytz>=2017.3 in /usr/local/lib/python3.7/dist-packages (from pandas->torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (2018.9) Requirement already satisfied: python-dateutil>=2.7.3 in /usr/local/lib/python3.7/dist-packages (from pandas->torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (2.8.2) Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.7/dist-packages (from python-dateutil>=2.7.3->pandas->torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (1.15.0) Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/dist-packages (from rdflib->torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (4.11.0) Requirement already satisfied: pyparsing in /usr/local/lib/python3.7/dist-packages (from rdflib->torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (3.0.7) Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (from rdflib->torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (57.4.0) Collecting isodate Downloading isodate-0.6.1-py2.py3-none-any.whl (41 kB) |████████████████████████████████| 41 kB 603 kB/s Requirement already satisfied: typing-extensions>=3.6.4 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->rdflib->torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (3.10.0.2) Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->rdflib->torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (3.7.0) Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests->torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (2.10) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (2021.10.8) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (1.24.3) Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from requests->torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (3.0.4) Requirement already satisfied: threadpoolctl>=2.0.0 in /usr/local/lib/python3.7/dist-packages (from scikit-learn->torch_geometric==1.3.2->-r /content/requirements.txt (line 4)) (3.1.0) Building wheels for collected packages: torch-scatter, torch-sparse, torch-cluster, torch-geometric Building wheel for torch-scatter (setup.py) ... done Created wheel for torch-scatter: filename=torch_scatter-1.4.0-cp37-cp37m-linux_x86_64.whl size=3535585 sha256=b690a87fb5986ea178969dd0d06b92715a25f6b6f54d5ae7a37155c6e66fae42 Stored in directory: /root/.cache/pip/wheels/5d/10/a4/123d1e752d8f2e483dde73060191b8b74cde9dd372c2ef1fb9 Building wheel for torch-sparse (setup.py) ... error ERROR: Failed building wheel for torch-sparse Running setup.py clean for torch-sparse Building wheel for torch-cluster (setup.py) ... done Created wheel for torch-cluster: filename=torch_cluster-1.4.5-cp37-cp37m-linux_x86_64.whl size=20365214 sha256=a5a98ea84dd6e840c562dd33aec12d8a0b3f1730bd761a81cc79b42100c15eb3 Stored in directory: /root/.cache/pip/wheels/41/0e/e2/e92a5cb756c57b8ef53448b4f2c8bd8a4a25edb0840f859f66 Building wheel for torch-geometric (setup.py) ... done Created wheel for torch-geometric: filename=torch_geometric-1.3.2-py3-none-any.whl size=203356 sha256=409b34458b6173e81ff2c136ba4030f9835e921fc138bcf38c23458401f9133d Stored in directory: /root/.cache/pip/wheels/61/e1/84/916edddf820fe98fa60a17c46c1023e54da6111fc7e84af3bc Successfully built torch-scatter torch-cluster torch-geometric Failed to build torch-sparse Installing collected packages: joblib, isodate, rdflib, plyfile, tqdm, torch-sparse, torch-scatter, torch-geometric, torch-cluster Attempting uninstall: joblib Found existing installation: joblib 1.1.0 Uninstalling joblib-1.1.0: Successfully uninstalled joblib-1.1.0 Attempting uninstall: tqdm Found existing installation: tqdm 4.62.3 Uninstalling tqdm-4.62.3: Successfully uninstalled tqdm-4.62.3 Running setup.py install for torch-sparse ... error ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-l5kr1v71/torch-sparse_0d5f5eaf01924e76a0a8fe6938751d24/setup.py'"'"'; file='"'"'/tmp/pip-install-l5kr1v71/torch-sparse_0d5f5eaf01924e76a0a8fe6938751d24/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-x_h0hxin/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/torch-sparse Check the logs for full command output.
I post the full log
Le lun. 21 févr. 2022 à 18:19, Matthias Fey @.***> a écrit :
Any chance you can post the full log? The shown error message is not very informative.
— Reply to this email directly, view it on GitHub https://github.com/rusty1s/pytorch_sparse/issues/206#issuecomment-1047093327, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFUVEEXXJMQAQX7ZOYANA3U4JX3FANCNFSM5O6VR6XA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Can you run
pip uninstall torch-sparse
pip uninstall torch-sparse
pip install --verbose torch-sparse==0.4.3
and send me the log?
WARNING: Skipping torch-sparse as it is not installed.
WARNING: Skipping torch-sparse as it is not installed.
Using pip 21.1.3 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
Value for scheme.platlib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/lib/python3.7/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
Value for scheme.purelib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/lib/python3.7/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/include/python3.7/UNKNOWN
sysconfig: /usr/include/python3.7m/UNKNOWN
Value for scheme.scripts does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/bin
sysconfig: /usr/bin
Value for scheme.data does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local
sysconfig: /usr
Additional context:
user = False
home = None
root = None
prefix = None
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-tei9gdv8
Created temporary directory: /tmp/pip-req-tracker-lphq0nrv
Initialized build tracking at /tmp/pip-req-tracker-lphq0nrv
Created build tracker: /tmp/pip-req-tracker-lphq0nrv
Entered build tracker: /tmp/pip-req-tracker-lphq0nrv
Created temporary directory: /tmp/pip-install-dj4t2s48
1 location(s) to search for versions of torch-sparse:
* https://pypi.org/simple/torch-sparse/
Fetching project page and analyzing links: https://pypi.org/simple/torch-sparse/
Getting page https://pypi.org/simple/torch-sparse/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/torch-sparse/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
[https://pypi.org:443](https://pypi.org/) "GET /simple/torch-sparse/ HTTP/1.1" 200 2438
Updating cache with response from "https://pypi.org/simple/torch-sparse/"
Caching due to etag
Found link https://files.pythonhosted.org/packages/21/a6/af5865f7bc2dc45ea789ebb35bdf5d84c05e140d7d2ec7e5823d24db176f/torch_sparse-0.1.0.tar.gz#sha256=d774c4b05a96bf09e3c3becd2f48c65ed66b03195a2cfc4992ef57c9a8c6b399 (from https://pypi.org/simple/torch-sparse/), version: 0.1.0
Found link https://files.pythonhosted.org/packages/02/4f/89bcb156022a3960c4db852915c64ea78b4e993e0f8d7a83e60e6819fc11/torch_sparse-0.2.0.tar.gz#sha256=578fdc3522b06c948d43fbc360d0dcde8a89d9a2496ac468592bf3493baedd33 (from https://pypi.org/simple/torch-sparse/), version: 0.2.0
Found link https://files.pythonhosted.org/packages/8f/41/98db80cc9d9345c76445393661ce4dd3e08fc46fb17028e7706612063e4d/torch_sparse-0.2.1.tar.gz#sha256=01346234f0e76103304f8aa1099f22c0904d2fff8b36c5ec0230335149f526bc (from https://pypi.org/simple/torch-sparse/), version: 0.2.1
Found link https://files.pythonhosted.org/packages/73/5b/5b7b6c66148afaa5e2ed8a3e18e109361957d28e67032d92cb282d173f32/torch_sparse-0.2.2.tar.gz#sha256=11e87c0214a4491168f15726ddda6c771b5f34be728f3edbb4add203e46d924d (from https://pypi.org/simple/torch-sparse/), version: 0.2.2
Found link https://files.pythonhosted.org/packages/43/2a/bb2ead5b33c6932937c6c74199ebecd72bd4b3ab224842a50366e5b2af4a/torch_sparse-0.2.3.tar.gz#sha256=47b3f85b0c243d0c98798db722b0f066830f6b8ff9d298a6e2aed0662598e356 (from https://pypi.org/simple/torch-sparse/), version: 0.2.3
Found link https://files.pythonhosted.org/packages/73/72/e374662f6f47d9ac0e082a6d5c18d14e15c52863e89c6bc6957a0d2ed026/torch_sparse-0.2.4.tar.gz#sha256=5cae8b40a5d11b8917e0f4b95034b5842b052f42a089ce59f8c02f2cff00ca55 (from https://pypi.org/simple/torch-sparse/), version: 0.2.4
Found link https://files.pythonhosted.org/packages/b0/0a/2ff678e0d04e524dd2cf990a6202ced8c0ffe3fe6b08e02f25cc9fd27da0/torch_sparse-0.4.0.tar.gz#sha256=bf217539b4f714a1d6fac4d39ace3ad8033871717f44f8f365a2746056b9d805 (from https://pypi.org/simple/torch-sparse/), version: 0.4.0
Found link https://files.pythonhosted.org/packages/c7/3e/aa5449787910283d846a7c739899ccf8c53c914f8a7aee7bc500a32dc091/torch_sparse-0.4.1.tar.gz#sha256=4831fe4b78b86d4dff948d50fec042ef99b98e850495b400189456380ec397d4 (from https://pypi.org/simple/torch-sparse/), version: 0.4.1
Found link https://files.pythonhosted.org/packages/7d/c5/1f73917168aa9816f41e0696f266fa07d0ebfe8d25c3e63a0f08440534b9/torch_sparse-0.4.2.tar.gz#sha256=a652feb1b945995fb863dcbfdaa01de9096d5ed7230380ebf6d262e649eb4123 (from https://pypi.org/simple/torch-sparse/), version: 0.4.2
Found link https://files.pythonhosted.org/packages/08/4e/a268613fa6a92ffbc65b89e66fc8be5590801937185007f0f7bcb75ea21f/torch_sparse-0.4.3.tar.gz#sha256=87b63cb21f091b450271e75d42280c9ef165d61e6ae6dcb983ad2caedfd6eb0f (from https://pypi.org/simple/torch-sparse/), version: 0.4.3
Found link https://files.pythonhosted.org/packages/0e/bf/6242893c898621e7e4756e1ad298e903df6dfae208aec1c32adf8cfd1f7f/torch_sparse-0.4.4.tar.gz#sha256=0c71a15444c56a1117ec200b60aef64121ee5dc8f6f97fbc1ca4c289579d8eb2 (from https://pypi.org/simple/torch-sparse/), version: 0.4.4
Found link https://files.pythonhosted.org/packages/92/80/7137d14dac46d515373d8b3eb47e2565ecfd646ba8658a6a6a1c24e49a2c/torch_sparse-0.5.1.tar.gz#sha256=ab62ffff2c97c5769cdd4aa348ad9b4ed9c4f1f174e155f3845a1864e8771f11 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.5.1
Found link https://files.pythonhosted.org/packages/11/17/03bd3a1f056d971e498bd1ad818bbde3dd5409c845ed2ce76186fec65dd2/torch_sparse-0.6.0.tar.gz#sha256=b5c0edc380e51b33e60a97d7580212a7672e5fab11daece50a905deb8e91dfa7 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.0
Found link https://files.pythonhosted.org/packages/12/9e/66247cbc250e746d06de35c6eb226ec39f4cb4be46adf6ee27527915910b/torch_sparse-0.6.1.tar.gz#sha256=41de6bb39450fc59917c582caa353505d443809af3601c67e4fbaa2284fd1899 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.1
Found link https://files.pythonhosted.org/packages/dc/65/ee198eae5c517cfc6d05473bf4ec8593830dc61446ffd65fdb7cd3b469ce/torch_sparse-0.6.3.tar.gz#sha256=2d2bb488e14207187f9856d2a9349851e7a3cc37d0f5cf7c7ed930d0fc8c7531 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.3
Found link https://files.pythonhosted.org/packages/92/d4/7261b5ee3ff529ac3652fda2ad9757c0fb3cde514014a9c26fe71bad38e9/torch_sparse-0.6.4.tar.gz#sha256=8698ef4bb3f9a51b278b5fdd2ed1b2f4389e871c135f6cdf38355f3c96709457 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.4
Found link https://files.pythonhosted.org/packages/18/0d/a0ab465c6fd30318e8ce2c121424fb09573e46eb16231e6fedb6ddd953f5/torch_sparse-0.6.5.tar.gz#sha256=e457718abdafb65a683a374f17e4bd84bb5d51cdeaa3a1dc364d514f67eaa834 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.5
Found link https://files.pythonhosted.org/packages/db/d1/968436c29959c321740ee95f781c961f12b2d23f0ecdbdaaf3ccf64ddc94/torch_sparse-0.6.6.tar.gz#sha256=9ee9e76eb2ef144afb82ae512ee768e652c436a38f92e7b90e7d0aa3c6c2814e (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.6
Found link https://files.pythonhosted.org/packages/ce/c0/f5ccc280629765cf1e97b601426cad6170d00603cf9836ba52f85d44ac27/torch_sparse-0.6.7.tar.gz#sha256=f69b2ed35baf2a9853234756a2b19e6f7ce88d2c1f029d1c7ca166d91e1adbd0 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.7
Found link https://files.pythonhosted.org/packages/3c/dd/f34dce6512a3922948c3ac0cf50cceb2eeafeedd34a278d502eb77d07dc0/torch_sparse-0.6.8.tar.gz#sha256=312fb5ae6e4e575fca4bbc0bd092af85e7679d5b8e53459f24492fc2a073c7b6 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.8
Found link https://files.pythonhosted.org/packages/9a/86/699eb78ea7ce259da7f9953858ec2a064e4e5f5e6bf7de53aa6c8bb8b9a8/torch_sparse-0.6.9.tar.gz#sha256=089a3200044d0d392a4d0d84803f926da28a44532fe30f4c8d6c34f567680db3 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.9
Found link https://files.pythonhosted.org/packages/c7/49/c97315cd579a19d4e575ca06dd8f79f43c00c9c38658fbe91116cd7909dd/torch_sparse-0.6.10.tar.gz#sha256=2e2c7a3649d04e19b3b3960c1d7fc0e767017c93587de1e0d6eb7fda613a6b82 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.10
Found link https://files.pythonhosted.org/packages/5a/81/f66f60ef6ce915ca54a4fcd0c97ec8a1a802312c1774caf329a866ebbf31/torch_sparse-0.6.11.tar.gz#sha256=1d57bc0fc9d9b6cfdc9dcc12017dc371c89c901e5d7a73e6149c8b866eca1267 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.11
Found link https://files.pythonhosted.org/packages/00/40/208c5b8ae34c89403d9da648c9689465880539d95a4ad570ac9d6f301b72/torch_sparse-0.6.12.tar.gz#sha256=85db85bd45855cde4be093c7e2413b962b21b31151ad7eacd19ca4e2808bced2 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.12
Skipping link: not a file: https://pypi.org/simple/torch-sparse/
Given no hashes to check 1 links for project 'torch-sparse': discarding no candidates
Collecting torch-sparse==0.4.3
Created temporary directory: /tmp/pip-unpack-o9f8tnyu
Looking up "https://files.pythonhosted.org/packages/08/4e/a268613fa6a92ffbc65b89e66fc8be5590801937185007f0f7bcb75ea21f/torch_sparse-0.4.3.tar.gz" in the cache
No cache entry available
Starting new HTTPS connection (1): files.pythonhosted.org:443
[https://files.pythonhosted.org:443](https://files.pythonhosted.org/) "GET /packages/08/4e/a268613fa6a92ffbc65b89e66fc8be5590801937185007f0f7bcb75ea21f/torch_sparse-0.4.3.tar.gz HTTP/1.1" 200 11018
Downloading torch_sparse-0.4.3.tar.gz (11 kB)
Ignoring unknown cache-control directive: immutable
Updating cache with response from "https://files.pythonhosted.org/packages/08/4e/a268613fa6a92ffbc65b89e66fc8be5590801937185007f0f7bcb75ea21f/torch_sparse-0.4.3.tar.gz"
Caching due to etag
Added torch-sparse==0.4.3 from https://files.pythonhosted.org/packages/08/4e/a268613fa6a92ffbc65b89e66fc8be5590801937185007f0f7bcb75ea21f/torch_sparse-0.4.3.tar.gz#sha256=87b63cb21f091b450271e75d42280c9ef165d61e6ae6dcb983ad2caedfd6eb0f to build tracker '/tmp/pip-req-tracker-lphq0nrv'
Running setup.py (path:/tmp/pip-install-dj4t2s48/torch-sparse_52c74748df724066bb241f6f095095e9/setup.py) egg_info for package torch-sparse
Created temporary directory: /tmp/pip-pip-egg-info-cqlkj2nd
Running command python setup.py egg_info
running egg_info
creating /tmp/pip-pip-egg-info-cqlkj2nd/torch_sparse.egg-info
writing /tmp/pip-pip-egg-info-cqlkj2nd/torch_sparse.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-cqlkj2nd/torch_sparse.egg-info/dependency_links.txt
writing requirements to /tmp/pip-pip-egg-info-cqlkj2nd/torch_sparse.egg-info/requires.txt
writing top-level names to /tmp/pip-pip-egg-info-cqlkj2nd/torch_sparse.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-cqlkj2nd/torch_sparse.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-pip-egg-info-cqlkj2nd/torch_sparse.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file '/tmp/pip-pip-egg-info-cqlkj2nd/torch_sparse.egg-info/SOURCES.txt'
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:700: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt))
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:700: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt))
Source in /tmp/pip-install-dj4t2s48/torch-sparse_52c74748df724066bb241f6f095095e9 has version 0.4.3, which satisfies requirement torch-sparse==0.4.3 from https://files.pythonhosted.org/packages/08/4e/a268613fa6a92ffbc65b89e66fc8be5590801937185007f0f7bcb75ea21f/torch_sparse-0.4.3.tar.gz#sha256=87b63cb21f091b450271e75d42280c9ef165d61e6ae6dcb983ad2caedfd6eb0f
Removed torch-sparse==0.4.3 from https://files.pythonhosted.org/packages/08/4e/a268613fa6a92ffbc65b89e66fc8be5590801937185007f0f7bcb75ea21f/torch_sparse-0.4.3.tar.gz#sha256=87b63cb21f091b450271e75d42280c9ef165d61e6ae6dcb983ad2caedfd6eb0f from build tracker '/tmp/pip-req-tracker-lphq0nrv'
Requirement already satisfied: scipy in /usr/local/lib/python3.7/dist-packages (from torch-sparse==0.4.3) (1.4.1)
Requirement already satisfied: numpy>=1.13.3 in /usr/local/lib/python3.7/dist-packages (from scipy->torch-sparse==0.4.3) (1.18.1)
Created temporary directory: /tmp/pip-unpack-_6j50ifk
Building wheels for collected packages: torch-sparse
Created temporary directory: /tmp/pip-wheel-be4_kabk
Building wheel for torch-sparse (setup.py) ... Destination directory: /tmp/pip-wheel-be4_kabk
Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-dj4t2s48/torch-sparse_52c74748df724066bb241f6f095095e9/setup.py'"'"'; __file__='"'"'/tmp/pip-install-dj4t2s48/torch-sparse_52c74748df724066bb241f6f095095e9/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-be4_kabk
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:700: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt))
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:700: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt))
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/torch_sparse
copying torch_sparse/transpose.py -> build/lib.linux-x86_64-3.7/torch_sparse
copying torch_sparse/spmm.py -> build/lib.linux-x86_64-3.7/torch_sparse
copying torch_sparse/convert.py -> build/lib.linux-x86_64-3.7/torch_sparse
copying torch_sparse/__init__.py -> build/lib.linux-x86_64-3.7/torch_sparse
copying torch_sparse/spspmm.py -> build/lib.linux-x86_64-3.7/torch_sparse
copying torch_sparse/coalesce.py -> build/lib.linux-x86_64-3.7/torch_sparse
copying torch_sparse/eye.py -> build/lib.linux-x86_64-3.7/torch_sparse
creating build/lib.linux-x86_64-3.7/test
copying test/test_spspmm.py -> build/lib.linux-x86_64-3.7/test
copying test/test_eye.py -> build/lib.linux-x86_64-3.7/test
copying test/test_convert.py -> build/lib.linux-x86_64-3.7/test
copying test/test_coalesce.py -> build/lib.linux-x86_64-3.7/test
copying test/test_spspmm_spmm.py -> build/lib.linux-x86_64-3.7/test
copying test/__init__.py -> build/lib.linux-x86_64-3.7/test
copying test/test_transpose.py -> build/lib.linux-x86_64-3.7/test
copying test/test_spmm.py -> build/lib.linux-x86_64-3.7/test
copying test/utils.py -> build/lib.linux-x86_64-3.7/test
creating build/lib.linux-x86_64-3.7/torch_sparse/utils
copying torch_sparse/utils/unique.py -> build/lib.linux-x86_64-3.7/torch_sparse/utils
copying torch_sparse/utils/__init__.py -> build/lib.linux-x86_64-3.7/torch_sparse/utils
running build_ext
building 'torch_sparse.spspmm_cpu' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/cpu
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/lib/python3.7/dist-packages/torch/include -I/usr/local/lib/python3.7/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.7/dist-packages/torch/include/TH -I/usr/local/lib/python3.7/dist-packages/torch/include/THC -I/usr/include/python3.7m -c cpu/spspmm.cpp -o build/temp.linux-x86_64-3.7/cpu/spspmm.o -DVERSION_GE_1_3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=spspmm_cpu -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/cpu/spspmm.o -o build/lib.linux-x86_64-3.7/torch_sparse/spspmm_cpu.cpython-37m-x86_64-linux-gnu.so
building 'torch_sparse.spspmm_cuda' extension
creating build/temp.linux-x86_64-3.7/cuda
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/lib/python3.7/dist-packages/torch/include -I/usr/local/lib/python3.7/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.7/dist-packages/torch/include/TH -I/usr/local/lib/python3.7/dist-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.7m -c cuda/spspmm.cpp -o build/temp.linux-x86_64-3.7/cuda/spspmm.o -DVERSION_GE_1_3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=spspmm_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
/usr/local/cuda/bin/nvcc -I/usr/local/lib/python3.7/dist-packages/torch/include -I/usr/local/lib/python3.7/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.7/dist-packages/torch/include/TH -I/usr/local/lib/python3.7/dist-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.7m -c cuda/spspmm_kernel.cu -o build/temp.linux-x86_64-3.7/cuda/spspmm_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DVERSION_GE_1_3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=spspmm_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_37,code=sm_37 -std=c++11
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/usr/local/lib/python3.7/dist-packages/torch/include/c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign
cuda/spspmm_kernel.cu(76): error: identifier "cusparseXcsrgemmNnz" is undefined
cuda/spspmm_kernel.cu(84): error: identifier "cusparseScsrgemm" is undefined
cuda/spspmm_kernel.cu(84): error: identifier "cusparseDcsrgemm" is undefined
3 errors detected in the compilation of "cuda/spspmm_kernel.cu".
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1
error
ERROR: Failed building wheel for torch-sparse
Running setup.py clean for torch-sparse
Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-dj4t2s48/torch-sparse_52c74748df724066bb241f6f095095e9/setup.py'"'"'; __file__='"'"'/tmp/pip-install-dj4t2s48/torch-sparse_52c74748df724066bb241f6f095095e9/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:700: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt))
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:700: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt))
running clean
removing 'build/temp.linux-x86_64-3.7' (and everything under it)
removing 'build/lib.linux-x86_64-3.7' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.7' does not exist -- can't clean it
removing 'build'
Failed to build torch-sparse
Installing collected packages: torch-sparse
Value for scheme.platlib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/lib/python3.7/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
Value for scheme.purelib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/lib/python3.7/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/include/python3.7/torch-sparse
sysconfig: /usr/include/python3.7m/torch-sparse
Value for scheme.scripts does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/bin
sysconfig: /usr/bin
Value for scheme.data does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local
sysconfig: /usr
Additional context:
user = False
home = None
root = None
prefix = None
Created temporary directory: /tmp/pip-record-pmq07j1w
Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-dj4t2s48/torch-sparse_52c74748df724066bb241f6f095095e9/setup.py'"'"'; __file__='"'"'/tmp/pip-install-dj4t2s48/torch-sparse_52c74748df724066bb241f6f095095e9/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-pmq07j1w/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/torch-sparse
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:700: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt))
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:700: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
% (opt, underscore_opt))
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/torch_sparse
copying torch_sparse/transpose.py -> build/lib.linux-x86_64-3.7/torch_sparse
copying torch_sparse/spmm.py -> build/lib.linux-x86_64-3.7/torch_sparse
copying torch_sparse/convert.py -> build/lib.linux-x86_64-3.7/torch_sparse
copying torch_sparse/__init__.py -> build/lib.linux-x86_64-3.7/torch_sparse
copying torch_sparse/spspmm.py -> build/lib.linux-x86_64-3.7/torch_sparse
copying torch_sparse/coalesce.py -> build/lib.linux-x86_64-3.7/torch_sparse
copying torch_sparse/eye.py -> build/lib.linux-x86_64-3.7/torch_sparse
creating build/lib.linux-x86_64-3.7/test
copying test/test_spspmm.py -> build/lib.linux-x86_64-3.7/test
copying test/test_eye.py -> build/lib.linux-x86_64-3.7/test
copying test/test_convert.py -> build/lib.linux-x86_64-3.7/test
copying test/test_coalesce.py -> build/lib.linux-x86_64-3.7/test
copying test/test_spspmm_spmm.py -> build/lib.linux-x86_64-3.7/test
copying test/__init__.py -> build/lib.linux-x86_64-3.7/test
copying test/test_transpose.py -> build/lib.linux-x86_64-3.7/test
copying test/test_spmm.py -> build/lib.linux-x86_64-3.7/test
copying test/utils.py -> build/lib.linux-x86_64-3.7/test
creating build/lib.linux-x86_64-3.7/torch_sparse/utils
copying torch_sparse/utils/unique.py -> build/lib.linux-x86_64-3.7/torch_sparse/utils
copying torch_sparse/utils/__init__.py -> build/lib.linux-x86_64-3.7/torch_sparse/utils
running build_ext
building 'torch_sparse.spspmm_cpu' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/cpu
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/lib/python3.7/dist-packages/torch/include -I/usr/local/lib/python3.7/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.7/dist-packages/torch/include/TH -I/usr/local/lib/python3.7/dist-packages/torch/include/THC -I/usr/include/python3.7m -c cpu/spspmm.cpp -o build/temp.linux-x86_64-3.7/cpu/spspmm.o -DVERSION_GE_1_3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=spspmm_cpu -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/cpu/spspmm.o -o build/lib.linux-x86_64-3.7/torch_sparse/spspmm_cpu.cpython-37m-x86_64-linux-gnu.so
building 'torch_sparse.spspmm_cuda' extension
creating build/temp.linux-x86_64-3.7/cuda
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -g -fdebug-prefix-map=/build/python3.7-pX47U3/python3.7-3.7.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/lib/python3.7/dist-packages/torch/include -I/usr/local/lib/python3.7/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.7/dist-packages/torch/include/TH -I/usr/local/lib/python3.7/dist-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.7m -c cuda/spspmm.cpp -o build/temp.linux-x86_64-3.7/cuda/spspmm.o -DVERSION_GE_1_3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=spspmm_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
/usr/local/cuda/bin/nvcc -I/usr/local/lib/python3.7/dist-packages/torch/include -I/usr/local/lib/python3.7/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.7/dist-packages/torch/include/TH -I/usr/local/lib/python3.7/dist-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.7m -c cuda/spspmm_kernel.cu -o build/temp.linux-x86_64-3.7/cuda/spspmm_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DVERSION_GE_1_3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=spspmm_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_37,code=sm_37 -std=c++11
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/usr/local/lib/python3.7/dist-packages/torch/include/c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign
cuda/spspmm_kernel.cu(76): error: identifier "cusparseXcsrgemmNnz" is undefined
cuda/spspmm_kernel.cu(84): error: identifier "cusparseScsrgemm" is undefined
cuda/spspmm_kernel.cu(84): error: identifier "cusparseDcsrgemm" is undefined
3 errors detected in the compilation of "cuda/spspmm_kernel.cu".
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1
Running setup.py install for torch-sparse ... error
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-dj4t2s48/torch-sparse_52c74748df724066bb241f6f095095e9/setup.py'"'"'; __file__='"'"'/tmp/pip-install-dj4t2s48/torch-sparse_52c74748df724066bb241f6f095095e9/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-pmq07j1w/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/torch-sparse Check the logs for full command output.
Exception information:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/req/req_install.py", line 825, in install
req_description=str(self.req),
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/install/legacy.py", line 81, in install
raise LegacyInstallFailure
pip._internal.operations.install.legacy.LegacyInstallFailure
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 180, in _main
status = self.run(options, args)
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/req_command.py", line 199, in wrapper
return func(self, options, args)
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/install.py", line 402, in run
pycompile=options.compile,
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/req/__init__.py", line 85, in install_given_reqs
pycompile=pycompile,
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/req/req_install.py", line 829, in install
six.reraise(*exc.parent)
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/six.py", line 703, in reraise
raise value
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/install/legacy.py", line 71, in install
cwd=unpacked_source_directory,
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/utils/subprocess.py", line 278, in runner
spinner=spinner,
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/utils/subprocess.py", line 244, in call_subprocess
raise InstallationSubprocessError(proc.returncode, command_desc)
pip._internal.exceptions.InstallationSubprocessError: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-dj4t2s48/torch-sparse_52c74748df724066bb241f6f095095e9/setup.py'"'"'; __file__='"'"'/tmp/pip-install-dj4t2s48/torch-sparse_52c74748df724066bb241f6f095095e9/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-pmq07j1w/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/torch-sparse Check the logs for full command output.
Removed build tracker: '/tmp/pip-req-tracker-lphq0nrv'
Done.
Le mar. 22 févr. 2022 à 08:26, Matthias Fey @.***> a écrit :
Can you run
pip uninstall torch-sparse pip uninstall torch-sparse pip install --verbose torch-sparse==0.4.3
and send me the log?
— Reply to this email directly, view it on GitHub https://github.com/rusty1s/pytorch_sparse/issues/206#issuecomment-1047498722, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFUVEFW4UTC6AY2CXT4INDU4M3DRANCNFSM5O6VR6XA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Oh, I see. It cannot find cuSPARSE cusparseXcsrgemm
routines. Which CUDA version are you using (nvcc --version
)?
nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2020 NVIDIA Corporation Built on Mon_Oct_12_20:09:46_PDT_2020 Cuda compilation tools, release 11.1, V11.1.105 Build cuda_11.1.TC455_06.29190527_0
Done it's cuda 11.1 it must be 10.1 ?
Le mer. 23 févr. 2022 à 09:54, Matthias Fey @.***> a écrit :
Oh, I see. It cannot find cuSPARSE cusparseXcsrgemm routines. Which CUDA version are you using (nvcc --version)?
— Reply to this email directly, view it on GitHub https://github.com/rusty1s/pytorch_sparse/issues/206#issuecomment-1048563099, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFUVEA6DJZZATND5UOSMPLU4SOF7ANCNFSM5O6VR6XA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Yes, I assume that CUDA 11.1 is too new to compile such an old version.
in Colab differents versions are installed , how can i set the version that i want?
As far as I know, you cannot change the CUDA version in a Google Colab (at least Google didn't provide me with any meaningful answers update that). Any reason you want to rely on such an old PyTorch/torch-sparse
version?
I need to run this code https://github.com/TianBian95/BiGCN
Le ven. 25 févr. 2022 à 10:53, Matthias Fey @.***> a écrit :
As far as I know, you cannot change the CUDA version in a Google Colab (at least Google didn't provide me with any meaningful answers update that). Any reason you want to rely on such an old PyTorch/torch-sparse version?
— Reply to this email directly, view it on GitHub https://github.com/rusty1s/pytorch_sparse/issues/206#issuecomment-1050703309, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFUVEFOFPWQ7ACSGDX4UWDU45GTLANCNFSM5O6VR6XA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I'm pretty sure you can use newer versions of torch-sparse
for this as well. torch-sparse
should have pretty good support in maintaining backward compatibility. Let me know if it works.
TypeError: coalesce() got an unexpected keyword argument 'fill_value'
I'm trying to replicate a code and I get this error on using the latest version of torch Sparse. Is there any support for the coalesce() function in the latest releases ? The CUDA installation in my system doesn't allow me to get a earlier version of torch-sparse. Apparently the function works well in the releases <0.4.4
This looks to be related to using torch-scatter>2.0
which removed this argument. Which versions of torch-scatter
and torch-sparse
are you using?
I'm using 'torch-scatter==2.0.9', 'torch-sparse==0.6.13' On cudatoolkit version 11.3, windows
This issue had no activity for 6 months. It will be closed in 2 weeks unless there is some new activity. Is this issue already resolved?
Hi, I developed my model with the environment blow: torch==1.4.0 numpy==1.18.1 torch_scatter==1.4.0 torch_sparse==0.4.3 torch_cluster==1.4.5 torch_geometric==1.3.2 but i can't install torch-sparse==0.4.3 I try this commands : !pip install torch-sparse==0.4.3 !pip install /content/pytorch_sparse-0.4.3.tar.gz !pip install --verbose torch-sparse==0.4.3
error: Processing ./pytorch_sparse-0.4.3.tar.gz Requirement already satisfied: scipy in /usr/local/lib/python3.7/dist-packages (from torch-sparse==0.4.3) (1.4.1) Requirement already satisfied: numpy>=1.13.3 in /usr/local/lib/python3.7/dist-packages (from scipy->torch-sparse==0.4.3) (1.18.1) Building wheels for collected packages: torch-sparse Building wheel for torch-sparse (setup.py) ... error ERROR: Failed building wheel for torch-sparse Running setup.py clean for torch-sparse Failed to build torch-sparse Installing collected packages: torch-sparse Running setup.py install for torch-sparse ... error ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-ihjhbd7q/setup.py'"'"'; file='"'"'/tmp/pip-req-build-ihjhbd7q/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-c1qmqj51/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/torch-sparse Check the logs for full command output. Processing ./pytorch_scatter-1.4.0.tar.gz