安装pywinpty失败, Preparing metadata (pyproject.toml) did not run successfully.

问题遇到的现象和发生背景

使用的python3.8,win10系统。安装多次失败

问题相关代码,请勿粘贴截图

C:\Users\Lenovo>pip install pywinpty
Collecting pywinpty
Using cached pywinpty-2.0.5.tar.gz (23 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]

  Cargo, the Rust package manager, is not installed or is not on PATH.
  This package requires Rust and Cargo to compile extensions. Install it through
  the system's package manager or via https://rustup.rs/

  Checking for Rust toolchain....
  [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.

运行结果及报错内容
我的解答思路和尝试过的方法
我想要达到的结果