Skip to content

uv还原失败 #342

@whiteS18

Description

@whiteS18

chsrc set uv
[chsrc 测速] 测速中

^ 上游默认源 (https://pypi.org/simple) [精准测速] ... 9.51 MByte/s

  • 校园网联合镜像站(MirrorZ) [精准测速] ... 48.32 MByte/s
  • 北京外国语大学开源软件镜像站 [精准测速] ... 36.72 MByte/s
  • 兰州大学开源社区镜像站 [精准测速] ... 45.34 MByte/s
  • 上海交通大学思源镜像站 [精准测速] ... 35.90 MByte/s
  • 清华大学开源软件镜像站 [精准测速] ... 36.35 MByte/s
  • 阿里巴巴开源镜像站(公网) [精准测速] ... 39.12 MByte/s
  • 南京大学开源镜像站 [精准测速] ... 44.34 MByte/s
  • 北京大学开源镜像站 [精准测速] ... 44.09 MByte/s
  • 腾讯软件源(公网) [精准测速] ... 44.75 MByte/s
  • 华为开源镜像站 [精准测速] ... 10.36 MByte/s
  • 华中科技大学开源镜像站 [精准测速] ... 0.00 Byte/s | HTTP码 000

最快镜像站: 校园网联合镜像站(MirrorZ)
选中镜像站: MirrorZ (mirrorz)

[chsrc 备份] ~/.config/uv/uv.toml -> ~/.config/uv/uv.toml.bak
[chsrc 运行] sed -i '' '/^[[index]]$/,/^default = true$/{s|^url = ".*"$|url = "https://mirrors.cernet.edu.cn/pypi/web/simple"|}' ~/.config/uv/uv.toml
sed: 1: "/^[[index]]$/,/^def ...": bad flag in substitute command: '}'
[chsrc 运行] x 命令执行失败,退出状态: 256
chsrc: 关键错误,强制结束

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions