Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Provide a simpler way for users to enable a pypi mirror? #4226

@dae

Description

@dae

An env var or config file would be easier than users needing to manually modify files.

以下内容来自知乎 沢见荧的文章
Anki 新版启动器(Anki Launcher)更新下载缓慢解决办法(uv 镜像设置) - 沢见荧的文章 - 知乎
https://zhuanlan.zhihu.com/p/1927728002831216855

在地址栏输入并打开 %APPDATA% 目录,或打开 C:\Users(你的用户名)\AppData\Roaming 目录
创建 uv 目录(有的话不用创建)并打开
创建 uv.toml 文件(有的话不用创建)
打开文件添加以下内容并保存:

python-install-mirror = "https://registry.npmmirror.com/-/binary/python-build-standalone/"
[[index]]
url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/"
default = true

即可成功设置镜像。

Originally reported on https://forums.ankiweb.net/t/anki-anki-launcher-uv/64485

Metadata

Metadata

Assignees

No one assigned

    Labels

    launcherRelated to Anki's installer/launcher (qt/launcher)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions