pyproject.toml did not run successfully
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [47 lines of output]
+ meson setup C:\Users\amout\AppData\Local\Temp\pip-install-msqcqpex\scipy_62636ad458774b398a8b624e074f8779 C:\Users\amout\AppData\Local\Temp\pip-install-msqcqpex\scipy_62636ad458774b398a8b624e074f8779\.mesonpy-28p6jwmc -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\amout\AppData\Local\Temp\pip-install-msqcqpex\scipy_62636ad458774b398a8b624e074f8779\.mesonpy-28p6jwmc\meson-python-native-file.ini
The Meson build system
Version: 1.8.2
Source dir: C:\Users\amout\AppData\Local\Temp\pip-install-msqcqpex\scipy_62636ad458774b398a8b624e074f8779
Build dir: C:\Users\amout\AppData\Local\Temp\pip-install-msqcqpex\scipy_62636ad458774b398a8b624e074f8779\.mesonpy-28p6jwmc Build type: native build
Activating VS 16.11.26
Project name: scipy
Project version: 1.13.1
C compiler for the host machine: cl (msvc 19.29.30148 "Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30148 for x64")
C linker for the host machine: link link 14.29.30148.0
C++ compiler for the host machine: cl (msvc 19.29.30148 "Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30148 for x64")
C++ linker for the host machine: link link 14.29.30148.0
Cython compiler for the host machine: cython (cython 3.0.12)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python found: YES (C:\Users\amout\anaconda3\envs\LivePortrait\python.exe)
Run-time dependency python found: YES 3.13
Program cython found: YES (C:\Users\amout\AppData\Local\Temp\pip-build-env-5pm0q3fs\overlay\Scripts\cython.EXE)
Compiler for C supports arguments -Wno-unused-but-set-variable: NO
Compiler for C supports arguments -Wno-unused-function: NO
Compiler for C supports arguments -Wno-conversion: NO
Compiler for C supports arguments -Wno-misleading-indentation: NO
Library m found: NO
..\meson.build:78:0: ERROR: Unknown compiler(s): [['ifort'], ['gfortran'], ['flang-new'], ['flang'], ['pgfortran'], ['g95']]
The following exception(s) were encountered:
Running `ifort --help` gave "[WinError 2] The system cannot find the file specified"
Running `ifort --version` gave "[WinError 2] The system cannot find the file specified"
Running `ifort -V` gave "[WinError 2] The system cannot find the file specified"
Running `gfortran --help` gave "[WinError 2] The system cannot find the file specified"
Running `gfortran --version` gave "[WinError 2] The system cannot find the file specified"
Running `gfortran -V` gave "[WinError 2] The system cannot find the file specified"
Running `flang-new --help` gave "[WinError 2] The system cannot find the file specified"
Running `flang-new --version` gave "[WinError 2] The system cannot find the file specified"
Running `flang-new -V` gave "[WinError 2] The system cannot find the file specified"
Running `flang --help` gave "[WinError 2] The system cannot find the file specified"
Running `flang --version` gave "[WinError 2] The system cannot find the file specified"
Running `flang -V` gave "[WinError 2] The system cannot find the file specified"
Running `pgfortran --help` gave "[WinError 2] The system cannot find the file specified"
Running `pgfortran --version` gave "[WinError 2] The system cannot find the file specified"
Running `pgfortran -V` gave "[WinError 2] The system cannot find the file specified"
Running `g95 --help` gave "[WinError 2] The system cannot find the file specified"
Running `g95 --version` gave "[WinError 2] The system cannot find the file specified"
Running `g95 -V` gave "[WinError 2] The system cannot find the file specified"
A full log can be found at C:\Users\amout\AppData\Local\Temp\pip-install-msqcqpex\scipy_62636ad458774b398a8b624e074f8779\.mesonpy-28p6jwmc\meson-logs\meson-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.
关闭于 2025-07-21 0 条评论