I’m getting an error when trying to install scikit-image on win11 x64. I have installed VS build tools and I’m running Python 3.10.0 (needs to be this version).
C:Rope>pip install scikit-image==0.21.0
Collecting scikit-image==0.21.0
Using cached scikit_image-0.21.0.tar.gz (22.7 MB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
-
meson setup C:UsersuserAppDataLocalTemppip-install-uw228l9sscikit-image_3e2bf59c71ae4599ab6dad1b6d5e9e6c C:UsersuserAppDataLocalTemppip-install-uw228l9sscikit-image_3e2bf59c71ae4599ab6dad1b6d5e9e6c.mesonpy-h9pbs5zs -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md –native-file=C:UsersuserAppDataLocalTemppip-install-uw228l9sscikit-image_3e2bf59c71ae4599ab6dad1b6d5e9e6c.mesonpy-h9pbs5zsmeson-python-native-file.ini
The Meson build system
Version: 1.5.1
Source dir: C:UsersuserAppDataLocalTemppip-install-uw228l9sscikit-image_3e2bf59c71ae4599ab6dad1b6d5e9e6c
Build dir: C:UsersuserAppDataLocalTemppip-install-uw228l9sscikit-image_3e2bf59c71ae4599ab6dad1b6d5e9e6c.mesonpy-h9pbs5zs
Build type: native build
Project name: scikit-image
Project version: 0.21.0
C compiler for the host machine: ccache gcc (gcc 13.1.0 “gcc (MinGW-W64 x86_64-msvcrt-posix-seh, built by Brecht Sanders) 13.1.0”)
C linker for the host machine: gcc ld.bfd 2.40
C++ compiler for the host machine: ccache c++ (gcc 13.1.0 “c++ (MinGW-W64 x86_64-msvcrt-posix-seh, built by Brecht Sanders) 13.1.0”)
C++ linker for the host machine: c++ ld.bfd 2.40
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wno-unused-function: YES
Library m found: YES
Checking if “-Wl,–version-script” : links: YES
Program cython found: YES (C:UsersuserAppDataLocalTemppip-build-env-yuvmydw0overlayScriptscython.EXE)
Program pythran found: YES (C:UsersuserAppDataLocalTemppip-build-env-yuvmydw0overlayScriptspythran.EXE)
Program skimage/_build_utils/copyfiles.py found: YES (python C:UsersuserAppDataLocalTemppip-install-uw228l9sscikit-image_3e2bf59c71ae4599ab6dad1b6d5e9e6cskimage/_build_utils/copyfiles.py)
Program python found: YES (C:RopevenvScriptspython.exe)
Need python for x86_64, but found x86
Run-time dependency python found: NO (tried sysconfig)..meson.build:69:14: ERROR: Python dependency not found
A full log can be found at C:UsersuserAppDataLocalTemppip-install-uw228l9sscikit-image_3e2bf59c71ae4599ab6dad1b6d5e9e6c.mesonpy-h9pbs5zsmeson-logsmeson-log.txt
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.`