ussrback
ussrback

Reputation: 621

How can I fix "Could not build wheels for scikit-image" error?

I am installing scikit-image , during the installation it throws wheel compilation error.

 Platform      :
    Architecture: x64
    Compiler    : msvc

  CPU baseline  :
    Requested   : 'min'
    Enabled     : none
    Flags       : none
    Extra checks: none

  CPU dispatch  :
    Requested   : 'max -xop -fma4'
    Enabled     : none
    Generated   : none
  CCompilerOpt.cache_flush[809] : write cache to path -> C:\Users\dimit\AppData\Local\Temp\pip-install-aq2rykzx\scikit-image_b1ce32750a55476abaacce9574e7b7cb\build\temp.win-amd64-3.10\Release\ccompiler_opt_cache_ext.py    
  ----------------------------------------
  ERROR: Failed building wheel for scikit-image
Failed to build scikit-image
ERROR: Could not build wheels for scikit-image, which is required to install pyproject.toml-based projects

Full log: https://paste-bin.xyz/18767

Upvotes: 1

Views: 6151

Answers (1)

jumorap
jumorap

Reputation: 69

Download the appropriate file from https://www.lfd.uci.edu/~gohlke/pythonlibs/#scikit-image

And using pip, install the file as: pip install *.whl

For me worked pip install scikit_image-0.19.3-cp311-cp311-win_amd64.whl --user in Python 3.11

Upvotes: 4

Related Questions