I have previously used scikit-image on Windows 10, Python 3.13 no problem.
I’m trying to install on Python 3.14, but getting a raft of error (below). I’m suspecting it’s a scikit-image issue with Python 3.14 (as it is just out). Is this a Python 3.14 issue or a scikit-image issue? (I have also posted this on the scikit technical problems chat)
C:\> py -m pip install scikit-image
Collecting scikit-image
Using cached scikit_image-0.25.2.tar.gz (22.7 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 3221225477
╰─> [256 lines of output]
+ meson setup C:\Users\Peter2\AppData\Local\Temp\pip-install-alef39ua\scikit-image_2bc6162c12154ba0816e4dfdeaba8f6e C:\Users\Peter2\AppData\Local\Temp\pip-install-alef39ua\scikit-image_2bc6162c12154ba0816e4dfdeaba8f6e\.mesonpy-a_l1bsux -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\Peter2\AppData\Local\Temp\pip-install-alef39ua\scikit-image_2bc6162c12154ba0816e4dfdeaba8f6e\.mesonpy-a_l1bsux\meson-python-native-file.ini
The Meson build system
Version: 1.9.1
Source dir: C:\Users\Peter2\AppData\Local\Temp\pip-install-alef39ua\scikit-image_2bc6162c12154ba0816e4dfdeaba8f6e
Build dir: C:\Users\Peter2\AppData\Local\Temp\pip-install-alef39ua\scikit-image_2bc6162c12154ba0816e4dfdeaba8f6e\.mesonpy-a_l1bsux
Build type: native build
Project name: scikit-image
Project version: 0.25.2
C compiler for the host machine: gcc (gcc 13.2.0 "gcc (GCC) 13.2.0")
C linker for the host machine: gcc ld.bfd 2.41
C++ compiler for the host machine: g++ (gcc 13.2.0 "g++ (GCC) 13.2.0")
C++ linker for the host machine: g++ ld.bfd 2.41
Cython compiler for the host machine: cython (cython 3.1.4)
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:\Users\Peter2\AppData\Local\Temp\pip-build-env-vcnvhb32\overlay\Scripts\cython.EXE)
Program pythran found: YES (C:\Users\Peter2\AppData\Local\Temp\pip-build-env-vcnvhb32\overlay\Scripts\pythran.EXE)
Program skimage/_build_utils/copyfiles.py found: YES (python C:\Users\Peter2\AppData\Local\Temp\pip-install-alef39ua\scikit-image_2bc6162c12154ba0816e4dfdeaba8f6e\skimage/_build_utils/copyfiles.py)
Program python found: YES (C:\Users\Peter2\AppData\Local\Programs\Python\Python314\python.exe)
Run-time dependency python found: YES 3.14
Program _build_utils/cythoner.py found: YES (python C:\Users\Peter2\AppData\Local\Temp\pip-install-alef39ua\scikit-image_2bc6162c12154ba0816e4dfdeaba8f6e\skimage\_build_utils/cythoner.py)
Compiler for C++ supports arguments -Wno-cpp: YES
Build targets in project: 57
scikit-image 0.25.2
User defined options
Native files: C:\Users\Peter2\AppData\Local\Temp\pip-install-alef39ua\scikit-image_2bc6162c12154ba0816e4dfdeaba8f6e\.mesonpy-a_l1bsux\meson-python-native-file.ini
b_ndebug : if-release
b_vscrt : md
buildtype : release
Found ninja.EXE-1.13.0.git.kitware.jobserver-pipe-1 at C:\Users\Peter2\AppData\Local\Temp\pip-build-env-vcnvhb32\normal\Scripts\ninja.EXE
+ meson compile
[1/165] Generating 'skimage\\_shared\\transform.cp314-win_amd64.pyd.p\\transform.c'
FAILED: [code=1] skimage/_shared/transform.cp314-win_amd64.pyd.p/transform.c
"python" "C:\Users\Peter2\AppData\Local\Temp\pip-install-alef39ua\scikit-image_2bc6162c12154ba0816e4dfdeaba8f6e\skimage\_build_utils/cythoner.py" "../skimage/_shared/transform.pyx" "skimage/_shared/transform.cp314-win_amd64.pyd.p/transform.c" "-Xfreethreading_compatible=True"
CreateProcess failed: The system cannot find the file specified.
...
CreateProcess failed: The system cannot find the file specified.
ninja: error: exception: 0xC0000005
ninja: warning: minidump created: ninja: error: exception: 0xC0000005
...
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: C:\Users\Peter2\AppData\Local\Temp\pip-build-env-vcnvhb32\normal\Scripts\ninja.EXE
[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.
```