【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的问题。

提示:详见上文。

相关推荐
猫头虎4 天前
零基础安装 Python 教程:从下载到环境配置一步到位(支持 VSCode 和 PyCharm)与常用操作系统操作指南
vscode·python·pycharm·beautifulsoup·numpy·pyqt·pip
代码讲故事9 天前
解决 xmlsec.InternalError: (-1, ‘lxml & xmlsec libxml2 library version mismatch‘)
linux·python·pip·lxml·xmlsec·libxml2
猫头虎14 天前
PyTorch入门教程:下载、安装、配置、参数简介、DataLoader(数据迭代器)参数解析与用法合集
人工智能·pytorch·python·深度学习·机器学习·pandas·pip
于归pro18 天前
Python环境管理工具深度指南:pip、Poetry、uv、Conda
python·pip·uv
水花花花花花20 天前
GloVe 模型讲解与实战
python·深度学习·conda·pip
正在走向自律22 天前
Conda 完全指南:从环境管理到工具集成
开发语言·python·conda·numpy·fastapi·pip·开发工具
小猪写代码23 天前
在 Ubuntu 20.04.6 LTS 中将 SCons 从 3.1.2 升级到 4.9.1
chrome·ubuntu·pip
tyn18825 天前
记录一次conda虚拟环境pip安装报错[WinError 32] 另一个程序正在使用此文件,进程无法访问
windows·conda·pip·虚拟环境·虚环境
量化金策25 天前
枢轴支压点策略
pip·ipython
Levin__NLP_CV_AIGC1 个月前
解决pip安装PyPI默认源速度慢
算法·pip