尝试安装 python pywinpty>=1.1.0 包时出错



我尝试安装python用于aws glue连接,所以我安装了pip install -upgrade jupyter boto3 -glue-sessions。我在这个特定的包中得到错误。

Collecting pywinpty>=1.1.0   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

在网上找到解决方案。安装64位Python解决了我的问题。检查python -V -V的安装,它应该是64位的。

最新更新