Skip to content
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

[BUG] <installation error> #345

Open
1 task done
MaryHsn opened this issue Feb 25, 2025 · 0 comments
Open
1 task done

[BUG] <installation error> #345

MaryHsn opened this issue Feb 25, 2025 · 0 comments

Comments

@MaryHsn
Copy link

MaryHsn commented Feb 25, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

No response

Expected Behavior

I tried to install the package using the following method,
"pip install git+https://github.com/mit-han-lab/torchsparse.git"
but the error below occurred as a result. I have installed different versions of the required packages. Do you have a solution to fix this issue?

C:\Users\Maryam_Hosseini>pip install git+https://github.com/mit-han-lab/torchsparse.git
Collecting git+https://github.com/mit-han-lab/torchsparse.git
Cloning https://github.com/mit-han-lab/torchsparse.git to c:\users\maryam_hosseini\appdata\local\temp\pip-req-build-hsf2exqk
Running command git clone --filter=blob:none --quiet https://github.com/mit-han-lab/torchsparse.git 'C:\Users\Maryam_Hosseini\AppData\Local\Temp\pip-req-build-hsf2exqk'
Resolved https://github.com/mit-han-lab/torchsparse.git to commit 385f5ce
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from torchsparse==2.1.0) (2.2.3)
Requirement already satisfied: backports.cached_property in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from torchsparse==2.1.0) (1.0.2)
Requirement already satisfied: tqdm in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from torchsparse==2.1.0) (4.67.1)
Requirement already satisfied: typing-extensions in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from torchsparse==2.1.0) (4.12.2)
Requirement already satisfied: wheel in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from torchsparse==2.1.0) (0.45.1)
Requirement already satisfied: rootpath in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from torchsparse==2.1.0) (0.1.1)
Requirement already satisfied: torch in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from torchsparse==2.1.0) (2.7.0.dev20250221+cu124)
Collecting torchvision (from torchsparse==2.1.0)
Using cached torchvision-0.21.0-cp311-cp311-win_amd64.whl.metadata (6.3 kB)
Requirement already satisfied: six>=1.11.0 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from rootpath->torchsparse==2.1.0) (1.17.0)
Requirement already satisfied: coloredlogs>=10.0 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from rootpath->torchsparse==2.1.0) (15.0.1)
Requirement already satisfied: termcolor>=1.1.0 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from rootpath->torchsparse==2.1.0) (2.5.0)
Requirement already satisfied: colour-runner>=0.0.5 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from rootpath->torchsparse==2.1.0) (0.1.1)
Requirement already satisfied: deepdiff>=3.3.0 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from rootpath->torchsparse==2.1.0) (8.2.0)
Requirement already satisfied: pygments>=2.2.0 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from rootpath->torchsparse==2.1.0) (2.19.1)
Requirement already satisfied: tox>=3.0.0 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from rootpath->torchsparse==2.1.0) (4.24.1)
Requirement already satisfied: coverage>=4.5.2 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from rootpath->torchsparse==2.1.0) (7.6.12)
Requirement already satisfied: codecov>=2.0.15 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from rootpath->torchsparse==2.1.0) (2.1.13)
Requirement already satisfied: filelock in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from torch->torchsparse==2.1.0) (3.17.0)
Requirement already satisfied: sympy==1.13.3 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from torch->torchsparse==2.1.0) (1.13.3)
Requirement already satisfied: networkx in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from torch->torchsparse==2.1.0) (3.4.2)
Requirement already satisfied: jinja2 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from torch->torchsparse==2.1.0) (3.1.5)
Requirement already satisfied: fsspec in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from torch->torchsparse==2.1.0) (2025.2.0)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from sympy==1.13.3->torch->torchsparse==2.1.0) (1.3.0)
Collecting torch (from torchsparse==2.1.0)
Using cached torch-2.6.0-cp311-cp311-win_amd64.whl.metadata (28 kB)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from torchvision->torchsparse==2.1.0) (11.1.0)
Collecting sympy==1.13.1 (from torch->torchsparse==2.1.0)
Using cached sympy-1.13.1-py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: colorama in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from tqdm->torchsparse==2.1.0) (0.4.6)
Requirement already satisfied: requests>=2.7.9 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from codecov>=2.0.15->rootpath->torchsparse==2.1.0) (2.32.3)
Requirement already satisfied: humanfriendly>=9.1 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from coloredlogs>=10.0->rootpath->torchsparse==2.1.0) (10.0)
Requirement already satisfied: blessings in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from colour-runner>=0.0.5->rootpath->torchsparse==2.1.0) (1.7)
Requirement already satisfied: orderly-set<6,>=5.3.0 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from deepdiff>=3.3.0->rootpath->torchsparse==2.1.0) (5.3.0)
Requirement already satisfied: cachetools>=5.5 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from tox>=3.0.0->rootpath->torchsparse==2.1.0) (5.5.1)
Requirement already satisfied: chardet>=5.2 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from tox>=3.0.0->rootpath->torchsparse==2.1.0) (5.2.0)
Requirement already satisfied: packaging>=24.2 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from tox>=3.0.0->rootpath->torchsparse==2.1.0) (24.2)
Requirement already satisfied: platformdirs>=4.3.6 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from tox>=3.0.0->rootpath->torchsparse==2.1.0) (4.3.6)
Requirement already satisfied: pluggy>=1.5 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from tox>=3.0.0->rootpath->torchsparse==2.1.0) (1.5.0)
Requirement already satisfied: pyproject-api>=1.8 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from tox>=3.0.0->rootpath->torchsparse==2.1.0) (1.9.0)
Requirement already satisfied: virtualenv>=20.27.1 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from tox>=3.0.0->rootpath->torchsparse==2.1.0) (20.29.2)
Requirement already satisfied: MarkupSafe>=2.0 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from jinja2->torch->torchsparse==2.1.0) (3.0.2)
Requirement already satisfied: pyreadline3 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from humanfriendly>=9.1->coloredlogs>=10.0->rootpath->torchsparse==2.1.0) (3.5.4)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from requests>=2.7.9->codecov>=2.0.15->rootpath->torchsparse==2.1.0) (3.4.1)
Requirement already satisfied: idna<4,>=2.5 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from requests>=2.7.9->codecov>=2.0.15->rootpath->torchsparse==2.1.0) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from requests>=2.7.9->codecov>=2.0.15->rootpath->torchsparse==2.1.0) (2.3.0)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from requests>=2.7.9->codecov>=2.0.15->rootpath->torchsparse==2.1.0) (2025.1.31)
Requirement already satisfied: distlib<1,>=0.3.7 in c:\users\maryam_hosseini\appdata\local\programs\python\python311\lib\site-packages (from virtualenv>=20.27.1->tox>=3.0.0->rootpath->torchsparse==2.1.0) (0.3.9)
Using cached torchvision-0.21.0-cp311-cp311-win_amd64.whl (1.6 MB)
Using cached torch-2.6.0-cp311-cp311-win_amd64.whl (204.2 MB)
Using cached sympy-1.13.1-py3-none-any.whl (6.2 MB)
Building wheels for collected packages: torchsparse
Building wheel for torchsparse (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [533 lines of output]
torchsparse version: 2.1.0
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-311\torchsparse
copying torchsparse\backends.py -> build\lib.win-amd64-cpython-311\torchsparse
copying torchsparse\operators.py -> build\lib.win-amd64-cpython-311\torchsparse
copying torchsparse\tensor.py -> build\lib.win-amd64-cpython-311\torchsparse
copying torchsparse\version.py -> build\lib.win-amd64-cpython-311\torchsparse
copying torchsparse_init_.py -> build\lib.win-amd64-cpython-311\torchsparse

Environment

- GCC: 
- NVCC:
- PyTorch: 
- PyTorch CUDA: 
- TorchSparse:

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant