pip intall jupyter出现 error: subprocess-exited-with-error 求帮助。

 

安装环境
操作系统:Windows
Python:3.10.7

安装虚拟环境的时候出错

pip install jupyter

出现错误

Collecting pywinpty>=1.1.0
  Using cached pywinpty-2.0.10.tar.gz (26 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.

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

文章出处登录后可见!

已经登录?立即刷新

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
社会演员多的头像社会演员多普通用户
上一篇 2023年6月15日
下一篇 2023年6月15日

相关推荐