MIC-DKFZ / nnUNet

Apache License 2.0
5.95k stars 1.77k forks source link

ERROR: Could not build wheels for nnunet, which is required to install pyproject.toml-based projects #2528

Open code8865 opened 1 month ago

code8865 commented 1 month ago

Hi,

I am trying to set up an environment to run nnunet (v1). I initiallly installed python 3.8.10 and torch==1.11.0+cu113.

However, in both a conda as well as in a venv, I am facing following error:

ERROR: Could not build wheels for nnunet, which is required to install pyproject.toml-based projects_

Has anyone faced this issue before? Need to add that I am trying to install it on Windows.

I provdided the logs in a txt-file.

logs.txt

I would be happy about any help!

gaojh135 commented 1 month ago
python -c 'import torch;print(torch.backends.cudnn.version())'
python -c 'import torch;print(torch.__version__)'

What is the output of this?

Was PyTorch installed before running pip install nnunet?
Have you tried using pip install -e .?

constantinulrich commented 3 days ago

Did you solve the issue? I would recommend to switch to V2