Skip to content

error installing dependencies #2

@lunebellec

Description

@lunebellec

I get the following error running pip install -r binder/requirements.txt

Looking in links: https://download.pytorch.org/whl/torch_stable.html, https://pytorch-geometric.com/whl/torch-1.8.0+cpu.html
Collecting nilearn==0.8.0
Using cached nilearn-0.8.0-py3-none-any.whl (4.9 MB)
Collecting pandas==0.25.1
Downloading pandas-0.25.1.tar.gz (12.6 MB)
|████████████████████████████████| 12.6 MB 13.8 MB/s
Collecting psutil==5.8.0
Downloading psutil-5.8.0-cp38-cp38-manylinux2010_x86_64.whl (296 kB)
|████████████████████████████████| 296 kB 42.8 MB/s
Collecting torch==1.8.1+cpu
Downloading https://download.pytorch.org/whl/cpu/torch-1.8.1%2Bcpu-cp38-cp38-linux_x86_64.whl (169.1 MB)
|████████████████████████████████| 169.1 MB 21 kB/s
Collecting torchvision==0.9.1
Downloading https://download.pytorch.org/whl/cu111/torchvision-0.9.1%2Bcu111-cp38-cp38-linux_x86_64.whl (17.6 MB)
|████████████████████████████████| 17.6 MB 4.0 MB/s
Collecting torch-cluster
Downloading https://data.pyg.org/whl/torch-1.8.0%2Bcpu/torch_cluster-1.5.9-cp38-cp38-linux_x86_64.whl (411 kB)
|████████████████████████████████| 411 kB 772 kB/s
Collecting torch-scatter
Downloading torch_scatter-2.0.9.tar.gz (21 kB)
ERROR: Command errored out with exit status 1:
command: /home/pbellec/env/fmri_decoding/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8_y2m8tz/torch-scatter/setup.py'"'"'; file='"'"'/tmp/pip-install-8_y2m8tz/torch-scatter/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-8_y2m8tz/torch-scatter/pip-egg-info
cwd: /tmp/pip-install-8_y2m8tz/torch-scatter/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-8_y2m8tz/torch-scatter/setup.py", line 8, in
import torch
ModuleNotFoundError: No module named 'torch'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions