当前位置: 首页 > news >正文

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

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

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

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

pip install jupyterlab -i http://pypi.doubanio.com/simple/ --trusted-host pypi.doubanio.com
  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的问题。
提示:详见上文。

相关文章:

  • OpenAI 联合创始人的 AI 安全公司 SSI 筹集 10 亿美元资金|TodayAI
  • 《自然语言处理》—— jieba库的介绍与使用
  • docker启动kafka并挂载配置文件,并让外部环境连接kafka
  • 【pyhton】python如何实现将word等文档中的文字转换成语音
  • 怎样把flv转换成mp4格式?8种可以推荐的视频转换方法
  • Java使用POI创建带样式和公式的Excel文件
  • 华为 HCIP-Datacom H12-821 题库 (5)
  • C++: std::once_flag 和 std::call_once
  • 智能体与在线实用工具:协同并进,提升生活效率
  • 科研绘图系列:R语言PCoA图(PCoA plot)
  • websocket和轮询的区别?
  • RabbitMQ 入门教程
  • 在模板中使用 Django 会话
  • 828华为云征文|华为云Flexus云服务器X实例部署Cockpit服务
  • 【Django-Minio-Storage 使用教程】
  • RabbitMQ核心架构
  • spring boot 项目 prometheus 自定义指标收集区分应用环境集群实例ip,使用 grafana 查询--方法耗时分位数指标
  • RK3588平台开发系列讲解(显示篇)图像的宽高和跨距
  • Linux之grafana+onealert报警
  • 回调函数的概念及其在异步编程中的应用
  • 顾家家居:拟定增募资近20亿元,用于家居产品生产线的改造和扩建等
  • 北上广深均宣布下调个人住房公积金贷款利率
  • 5月12日至13日北京禁飞“低慢小”航空器
  • 国家主席习近平同普京总统举行小范围会谈
  • 外交部:解放军参加红场阅兵体现了中方对历史的尊重和铭记
  • 农行原首席专家兼浙江省分行原行长冯建龙主动投案,正接受审查调查