【JupyterLab】pip安装过程问题记录(未完)

1、使用以下命令安装报错

bash 复制代码
pip install jupyterlab
bash 复制代码
ERROR: Could not find a version that satisfies the requirement jupyterlab (from versions: none)
ERROR: No matching distribution found for jupyterlab

2、修改运行命令仍然出现报错

bash 复制代码
pip install jupyterlab -i http://pypi.doubanio.com/simple/ --trusted-host pypi.doubanio.com
bash 复制代码
  Downloading https://mirrors.cloud.tencent.com/pypi/packages/d3/89/2b9113eabacfe3bbebcdf95c24772e2267c7b6b9fed6e35bffba2080a4c1/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.

百度机翻:

下载中https://mirrors.cloud.tencent.com/pypi/packages/d3/89/2b9113eabacfe3bbebcdf95c24772e2267c7b6b9fed6e35bffba2080a4c1/pywinpty-2.0.10.tar.gz(26 kB)

正在安装生成依赖项。。。完成

获取制造车轮的要求。。。完成

正在准备元数据(pyproject.toml)。。。错误

错误:子进程退出时出错

×准备元数据(pyproject.toml)未成功运行。

│ 退出代码:1

╰─> [6行输出]

Rust包管理器Cargo未安装或不在PATH上。

这个包需要Rust和Cargo来编译扩展。通过安装

系统的包管理器或通过https://rustup.rs/

正在检查Rust工具链。。。。

输出结束

注意:此错误源自子流程,可能不是pip的问题。

错误:元数据生成失败

×生成包元数据时遇到错误。

╰─> 输出见上文。

注意:这是上述包的问题,而不是pip的问题。

提示:详见上文。

相关推荐
门前云梦1 天前
ollama+open-webui本地部署自己的模型到d盘+两种open-webui部署方式(详细步骤+大量贴图)
前端·经验分享·笔记·语言模型·node.js·github·pip
万粉变现经纪人6 天前
如何解决pip安装报错ModuleNotFoundError: No module named ‘django’问题
后端·python·pycharm·django·numpy·pandas·pip
万粉变现经纪人7 天前
如何解决pip安装报错ModuleNotFoundError: No module named ‘pillow’问题
python·pycharm·beautifulsoup·pandas·pillow·pip·策略模式
猫头虎9 天前
什么是 npm、Yarn、pnpm? 有什么区别? 分别适应什么场景?
前端·python·scrapy·arcgis·npm·beautifulsoup·pip
万粉变现经纪人11 天前
如何解决pip安装报错ModuleNotFoundError: No module named ‘tkinter’问题
python·beautifulsoup·pandas·pip·策略模式·httpx·scipy
F_D_Z11 天前
【删库跑路】一次删除pip的所有第三方库
pip
wa的一声哭了13 天前
python基础知识pip配置pip.conf文件
java·服务器·开发语言·python·pip·risc-v·os
白毛大侠14 天前
在 Ubuntu 24.04 中安装 Python 2.7、pip 及 mysqlclient==1.4.6 的完整指南
python·ubuntu·pip
-dzk-15 天前
【Flask】基础入门
后端·python·pycharm·django·flask·conda·pip
X.Cristiano17 天前
pip 安装加速指南:配置国内镜像源(中国科技大学、清华、阿里云等)
pip