安装paddlex报错

Collecting paddlex
  Using cached paddlex-2.1.0-py3-none-any.whl.metadata (907 bytes)
Collecting pycocotools (from paddlex)
  Using cached pycocotools-2.0.8-cp312-cp312-win_amd64.whl.metadata (1.1 kB)
Requirement already satisfied: pyyaml in g:\anaconda\lib\site-packages (from paddlex) (6.0.1)
Requirement already satisfied: colorama in g:\anaconda\lib\site-packages (from paddlex) (0.4.6)
Requirement already satisfied: tqdm in g:\anaconda\lib\site-packages (from paddlex) (4.66.5)
Collecting paddleslim==2.2.1 (from paddlex)
  Using cached paddleslim-2.2.1-py3-none-any.whl.metadata (1.3 kB)
Collecting visualdl>=2.2.2 (from paddlex)
  Using cached visualdl-2.5.3-py3-none-any.whl.metadata (25 kB)
Collecting shapely>=1.7.0 (from paddlex)
  Using cached shapely-2.0.6-cp312-cp312-win_amd64.whl.metadata (7.2 kB)
Collecting opencv-python (from paddlex)
  Downloading opencv_python-4.10.0.84-cp37-abi3-win_amd64.whl.metadata (20 kB)
Requirement already satisfied: scipy in g:\anaconda\lib\site-packages (from paddlex) (1.13.1)
Collecting lap (from paddlex)
  Using cached lap-0.5.12-cp312-cp312-win_amd64.whl.metadata (6.3 kB)
Collecting motmetrics (from paddlex)
  Using cached motmetrics-1.4.0-py3-none-any.whl.metadata (20 kB)
Collecting scikit-learn==0.23.2 (from paddlex)
  Using cached scikit-learn-0.23.2.tar.gz (7.2 MB)
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [100 lines of output]
      Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX" and platform_python_implementation == "CPython"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX" and platform_python_implementation != "CPython"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.7" and platform_system != "AIX"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment
      Ignoring numpy: markers 'python_version == "3.7" and platform_system == "AIX"' don't match your environment
      Ignoring numpy: markers 'python_version >= "3.8" and platform_system == "AIX"' don't match your environment
      Collecting setuptools
        Using cached setuptools-75.6.0-py3-none-any.whl.metadata (6.7 kB)
      Collecting wheel
        Using cached wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
      Collecting Cython>=0.28.5
        Using cached Cython-3.0.11-cp312-cp312-win_amd64.whl.metadata (3.2 kB)
      Collecting numpy==1.17.3
        Using cached numpy-1.17.3.zip (6.4 MB)
        Preparing metadata (setup.py): started
        Preparing metadata (setup.py): finished with status 'done'
      Collecting scipy>=0.19.1
        Using cached scipy-1.14.1-cp312-cp312-win_amd64.whl.metadata (60 kB)
      INFO: pip is looking at multiple versions of scipy to determine which version is compatible with other requirements. This could take a while.
        Using cached scipy-1.14.0-cp312-cp312-win_amd64.whl.metadata (60 kB)
        Using cached scipy-1.13.1-cp312-cp312-win_amd64.whl.metadata (60 kB)
        Using cached scipy-1.13.0-cp312-cp312-win_amd64.whl.metadata (60 kB)
        Using cached scipy-1.12.0-cp312-cp312-win_amd64.whl.metadata (60 kB)
        Using cached scipy-1.11.4-cp312-cp312-win_amd64.whl.metadata (60 kB)
        Using cached scipy-1.11.3-cp312-cp312-win_amd64.whl.metadata (60 kB)
        Using cached scipy-1.11.2-cp312-cp312-win_amd64.whl.metadata (59 kB)
      INFO: pip is still looking at multiple versions of scipy to determine which version is compatible with other requirements. This could take a while.
        Using cached scipy-1.11.1.tar.gz (56.0 MB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Installing backend dependencies: started
        Installing backend dependencies: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status '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\鱼鱼鱼鱼\AppData\Local\Temp\pip-install-6ol9db36\scipy_d68477ef8e0749feba585b92ad46a526 C:\Users\鱼鱼鱼鱼\AppData\Local\Temp\pip-install-6ol9db36\scipy_d68477ef8e0749feba585b92ad46a526\.mesonpy-pv2ylfkf\build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\鱼鱼鱼鱼\AppData\Local\Temp\pip-install-6ol9db36\scipy_d68477ef8e0749feba585b92ad46a526\.mesonpy-pv2ylfkf\build\meson-python-native-file.ini
        The Meson build system
        Version: 1.6.0
        Source dir: C:\Users\鱼鱼鱼鱼\AppData\Local\Temp\pip-install-6ol9db36\scipy_d68477ef8e0749feba585b92ad46a526
        Build dir: C:\Users\鱼鱼鱼鱼\AppData\Local\Temp\pip-install-6ol9db36\scipy_d68477ef8e0749feba585b92ad46a526\.mesonpy-pv2ylfkf\build
        Build type: native build
        Project name: SciPy
        Project version: 1.11.1
        Activating VS 17.9.5
        C compiler for the host machine: cl (msvc 19.39.33523 "用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.39.33523 版")
        C linker for the host machine: link link 14.39.33523.0
        C++ compiler for the host machine: cl (msvc 19.39.33523 "用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.39.33523 版")
        C++ linker for the host machine: link link 14.39.33523.0
        Cython compiler for the host machine: cython (cython 0.29.37)
        Host machine cpu family: x86_64
        Host machine cpu: x86_64
        Program python found: YES (G:\anaconda\python.exe)
        Run-time dependency python found: YES 3.12
        Program cython found: YES (C:\Users\鱼鱼鱼鱼\AppData\Local\Temp\pip-build-env-amxe7szu\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:82:0: ERROR: Unknown compiler(s): [['ifort'], ['gfortran'], ['flang-new'], ['flang'], ['pgfortran'], ['g95']]
        The following exception(s) were encountered:
        Running `ifort --help` gave "[WinError 2] 系统找不到指定的文件。"
        Running `ifort --version` gave "[WinError 2] 系统找不到指定的文件。"
        Running `ifort -V` gave "[WinError 2] 系统找不到指定的文件。"
        Running `gfortran --help` gave "[WinError 2] 系统找不到指定的文件。"
        Running `gfortran --version` gave "[WinError 2] 系统找不到指定的文件。"
        Running `gfortran -V` gave "[WinError 2] 系统找不到指定的文件。"
        Running `flang-new --help` gave "[WinError 2] 系统找不到指定的文件。"
        Running `flang-new --version` gave "[WinError 2] 系统找不到指定的文件。"
        Running `flang-new -V` gave "[WinError 2] 系统找不到指定的文件。"
        Running `flang --help` gave "[WinError 2] 系统找不到指定的文件。"
        Running `flang --version` gave "[WinError 2] 系统找不到指定的文件。"
        Running `flang -V` gave "[WinError 2] 系统找不到指定的文件。"
        Running `pgfortran --help` gave "[WinError 2] 系统找不到指定的文件。"
        Running `pgfortran --version` gave "[WinError 2] 系统找不到指定的文件。"
        Running `pgfortran -V` gave "[WinError 2] 系统找不到指定的文件。"
        Running `g95 --help` gave "[WinError 2] 系统找不到指定的文件。"
        Running `g95 --version` gave "[WinError 2] 系统找不到指定的文件。"
        Running `g95 -V` gave "[WinError 2] 系统找不到指定的文件。"

        A full log can be found at C:\Users\鱼鱼鱼鱼\AppData\Local\Temp\pip-install-6ol9db36\scipy_d68477ef8e0749feba585b92ad46a526\.mesonpy-pv2ylfkf\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.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

不知道这个报错怎么解决

你可能感兴趣的:(python,paddlepaddle)