Skip to content

python 3.14.0 pip 安装失败 #1303

@litefeel

Description

@litefeel

python 版本: 3.14.0

python -m pip install airtest
Collecting airtest
  Using cached airtest-1.3.6.tar.gz (49.6 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting Jinja2>=2.8 (from airtest)
  Using cached jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
Collecting Pillow>=3.4.0 (from airtest)
  Using cached pillow-12.0.0-cp314-cp314-win_amd64.whl.metadata (9.0 kB)
Requirement already satisfied: requests>=2.11.1 in c:\users\litef\appdata\local\python\pythoncore-3.14-64\lib\site-packages (from airtest) (2.32.5)
Collecting six<=1.16.0,>=1.9.0 (from airtest)
  Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting mss==6.1.0 (from airtest)
  Using cached mss-6.1.0-py3-none-any.whl.metadata (3.2 kB)
Collecting numpy<2.0 (from airtest)
  Using cached numpy-1.26.4.tar.gz (15.8 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: 1
  ╰─> [21 lines of output]
      + C:\Users\litef\AppData\Local\Python\pythoncore-3.14-64\python.exe C:\Users\litef\AppData\Local\Temp\pip-install-m222y3le\numpy_f4883b9bc8a84720940d3e337dc6fc13\vendored-meson\meson\meson.py setup C:\Users\litef\AppData\Local\Temp\pip-install-m222y3le\numpy_f4883b9bc8a84720940d3e337dc6fc13 C:\Users\litef\AppData\Local\Temp\pip-install-m222y3le\numpy_f4883b9bc8a84720940d3e337dc6fc13\.mesonpy-imlia3c_ -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\litef\AppData\Local\Temp\pip-install-m222y3le\numpy_f4883b9bc8a84720940d3e337dc6fc13\.mesonpy-imlia3c_\meson-python-native-file.ini
      The Meson build system
      Version: 1.2.99
      Source dir: C:\Users\litef\AppData\Local\Temp\pip-install-m222y3le\numpy_f4883b9bc8a84720940d3e337dc6fc13
      Build dir: C:\Users\litef\AppData\Local\Temp\pip-install-m222y3le\numpy_f4883b9bc8a84720940d3e337dc6fc13\.mesonpy-imlia3c_
      Build type: native build
      Project name: NumPy
      Project version: 1.26.4
      WARNING: Failed to activate VS environment: Could not parse vswhere.exe output

      ..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
      The following exception(s) were encountered:
      Running `icl ""` gave "[WinError 2] ???????????"
      Running `cl /?` gave "[WinError 2] ???????????"
      Running `cc --version` gave "[WinError 2] ???????????"
      Running `gcc --version` gave "[WinError 2] ???????????"
      Running `clang --version` gave "[WinError 2] ???????????"
      Running `clang-cl /?` gave "[WinError 2] ???????????"
      Running `pgcc --version` gave "[WinError 2] ???????????"

      A full log can be found at C:\Users\litef\AppData\Local\Temp\pip-install-m222y3le\numpy_f4883b9bc8a84720940d3e337dc6fc13\.mesonpy-imlia3c_\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.
╰─> numpy

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions