MIC-DKFZ / basic_unet_example

An example project of how to use a U-Net for segmentation on medical images with PyTorch.
Apache License 2.0
137 stars 38 forks source link

Error when install package trixi: ERROR: Could not build wheels for scikit-learn, which is required to install pyproject.toml-based projects #18

Open nguyenbanhducA1K51 opened 1 year ago

nguyenbanhducA1K51 commented 1 year ago

When I run pip install -r requirements.txt, it show the error above. Even when I install trixi package directly by pip install trixi, it still show the same error. My python version is 3.9.17


      ########### EXT COMPILER OPTIMIZATION ###########
      INFO: Platform      :
        Architecture: x64
        Compiler    : gcc

      CPU baseline  :
        Requested   : 'min'
        Enabled     : SSE SSE2 SSE3
        Flags       : -msse -msse2 -msse3
        Extra checks: none

      CPU dispatch  :
        Requested   : 'max -xop -fma4'
        Enabled     : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_KNL AVX512_KNM AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL
        Generated   : none
      INFO: CCompilerOpt.cache_flush[863] : write cache to path -> /tmp/pip-install-nsrhqxwm/scikit-learn_5ab10893aaa04a6daf9e97a15aa75168/build/temp.linux-x86_64-cpython-39/ccompiler_opt_cache_ext.py
      INFO:
      ########### CLIB COMPILER OPTIMIZATION ###########
      INFO: Platform      :
        Architecture: x64
        Compiler    : gcc

      CPU baseline  :
        Requested   : 'min'
        Enabled     : SSE SSE2 SSE3
        Flags       : -msse -msse2 -msse3
        Extra checks: none

      CPU dispatch  :
        Requested   : 'max -xop -fma4'
        Enabled     : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_KNL AVX512_KNM AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL
        Generated   : none
      INFO: CCompilerOpt.cache_flush[863] : write cache to path -> /tmp/pip-install-nsrhqxwm/scikit-learn_5ab10893aaa04a6daf9e97a15aa75168/build/temp.linux-x86_64-cpython-39/ccompiler_opt_cache_clib.py
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for scikit-learn
  Running setup.py clean for scikit-learn
Failed to build scikit-learn
ERROR: Could not build wheels for scikit-learn, which is required to install pyproject.toml-based projects```
elpequeno commented 8 months ago

Sorry, this repo is discontinued. We suggest using nnUNet for your segmentation problems.

Thanks, André