×为autopy运行setup.py安装没有成功运行。│退出代码:1╰─>[20行输出]正在运行安装正在运行生成运行build_py创建生成正在创建build\lib.win-ad64-3.9创建build\lib.win-ad64-3.9\autopy复制autopy_init_.py->build\lib.win-ad64-3.9\autopy运行build_ext运行build_rust错误:找不到Rust编译器
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
[end of output]
注意:这个错误源于一个子流程,可能不是pip的问题。错误:旧版安装失败
×尝试安装程序包时遇到错误。╰─>自动
注意:这是上面提到的软件包的问题,而不是pip。提示:有关失败的输出,请参阅上面的内容。
来源https://pypi.org/project/autopy/:
要求:Rust 1.23.0夜间2019-02-06或更高版本(除非使用二进制车轮分配(。
对于4.0版本,二进制轮子可用于Python 3.8,但不适用于Python 3.9。降级到Python 3.8或安装Rust。