833 浏览
0

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: 1
  ╰─> [37 lines of output]
      + meson setup --prefix=c:\users\fy_ma\appdata\local\programs\python\python38-32 C:\Users\fy_ma\AppData\Local\Temp\pip-install-pwk3s0ui\scipy_4f8dd512001c45d9bbf30439c9250b78 C:\Users\fy_ma\AppData\Local\Temp\pip-install-pwk3s0ui\scipy_4f8dd512001c45d9bbf30439c9250b78\.mesonpy-cxde_9as\build --native-file=C:\Users\fy_ma\AppData\Local\Temp\pip-install-pwk3s0ui\scipy_4f8dd512001c45d9bbf30439c9250b78\.mesonpy-native-file.ini -Ddebug=false -Doptimization=2
      The Meson build system
      Version: 1.3.0
      Source dir: C:\Users\fy_ma\AppData\Local\Temp\pip-install-pwk3s0ui\scipy_4f8dd512001c45d9bbf30439c9250b78
      Build dir: C:\Users\fy_ma\AppData\Local\Temp\pip-install-pwk3s0ui\scipy_4f8dd512001c45d9bbf30439c9250b78\.mesonpy-cxde_9as\build
      Build type: native build
      Project name: SciPy
      Project version: 1.10.1
      Activating VS 17.8.2
      C compiler for the host machine: cl (msvc 19.38.33130 "用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.38.33130 版")
      C linker for the host machine: link link 14.38.33130.0
      C++ compiler for the host machine: cl (msvc 19.38.33130 "用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.38.33130 版")
      C++ linker for the host machine: link link 14.38.33130.0
      Cython compiler for the host machine: cython (cython 0.29.36)
      Host machine cpu family: x86_64
      Host machine cpu: x86_64
      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
      Compiler for C supports arguments -Wno-incompatible-pointer-types: NO
      Library m found: NO
       ..\..\meson.build:63:0: ERROR: Unknown compiler(s): [['ifort'], ['gfortran'], ['flang'], ['pgfortran'], ['g95']]
      The following exception(s) were encountered:
      Running `ifort --version` gave "[WinError 2] 系统找不到指定的文件。"
      Running `ifort -V` gave "[WinError 2] 系统找不到指定的文件。"
      Running `gfortran --version` gave "[WinError 2] 系统找不到指定的文件。"
      Running `gfortran -V` gave "[WinError 2] 系统找不到指定的文件。"
      Running `flang --version` gave "[WinError 2] 系统找不到指定的文件。"
      Running `flang -V` gave "[WinError 2] 系统找不到指定的文件。"
      Running `pgfortran --version` gave "[WinError 2] 系统找不到指定的文件。"
      Running `pgfortran -V` gave "[WinError 2] 系统找不到指定的文件。"
      Running `g95 --version` gave "[WinError 2] 系统找不到指定的文件。"
      Running `g95 -V` gave "[WinError 2] 系统找不到指定的文件。"
       A full log can be found at C:\Users\fy_ma\AppData\Local\Temp\pip-install-pwk3s0ui\scipy_4f8dd512001c45d9bbf30439c9250b78\.mesonpy-cxde_9as\build\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.

tqsdkdzqh 已回答的问题 2023年11月30日