question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unable to install torch_sparse ,torch_scatter on my ubuntu16.04

See original GitHub issue

📚 Installation

Environment

  • OS:ubuntu16.04
  • Python version:Python 3.7.6
  • PyTorch version:1.1.0
  • CUDA/cuDNN version:9.0.176
  • GCC version:5.4.0
  • How did you try to install PyTorch Geometric and its extensions (pip, source):pip
  • Any other relevant information: my pytorch environment is bulit via conda

Checklist

  • [yes ] I followed the installation guide.
  • [yes ] I cannot find my error message in the FAQ.
  • [yes ] I set up CUDA correctly and can compile CUDA code via nvcc.
  • [ no] I have cloned the repository and tried a manual installation from source.
  • [no ] I do have multiple CUDA versions on my machine.
  • [yes ] I checked if the official extension example runs on my machine.
  • [no ] The offical extension example runs on my machine.

Additional context

(pt1) lirui@lirui:~$ pip install --verbose --no-cache-dir torch-scatter Non-user install because site-packages writeable Created temporary directory: /tmp/pip-ephem-wheel-cache-4hk8xft8 Created temporary directory: /tmp/pip-req-tracker-t99has2e Initialized build tracking at /tmp/pip-req-tracker-t99has2e Created build tracker: /tmp/pip-req-tracker-t99has2e Entered build tracker: /tmp/pip-req-tracker-t99has2e Created temporary directory: /tmp/pip-install-jxdlw8rc 1 location(s) to search for versions of torch-scatter:

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
rusty1scommented, Mar 5, 2020

torch-scatter==1.4.0 torch-sparse==0.4.3 torch-cluster==1.4.5

3reactions
rusty1scommented, Nov 18, 2020

For PyTorch 1.1.0, you want to install

torch-geometric==1.3.2
torch-spline-conv==1.1.0

You can always look that up by yourself by inspecting the release sections, e.g., see here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

unable to install torch_sparse ,torch_scatter on my ubuntu16 ...
[yes ] I set up CUDA correctly and can compile CUDA code via nvcc . [ no] I have cloned the repository and...
Read more >
python - unable to install torch_sparse package - Stack Overflow
you need to specify the version number of the package you are installing like this: pip3 install torch-sparse==0.6.12 --no-cache-dir -f ...
Read more >
python安装torch-cluster、torch-scatter - CSDN博客
RuntimeError: Detected that PyTorch and torch_scatter were compiled with different CUDA versions. PyTorch has CUDA version 10.2 and ...
Read more >
CentOS Linux系统安装torch-geometric、torch_scatter和 ... - 简书
torch-scatter 、torch-sparse的版本问题 ... failed to install the package by directly commanding pip . ... Ubuntu 16 系统安装及CUDA配置.
Read more >
facebook的maskrcnn-benchmark安装出现command '/usr/local ...
facebook的maskrcnn-benchmark安装出现command '/usr/local/cuda/bin/nvcc' failed with exit status 1,1.问题在安装maskrcnn-benchmark的时候, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found