You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uv will also discover user-level configuration at ~/.config/uv/uv.toml (or $XDG_CONFIG_HOME/uv/uv.toml) on macOS and Linux, or %APPDATA%\uv\uv.toml on Windows; and system-level configuration at /etc/uv/uv.toml (or $XDG_CONFIG_DIRS/uv/uv.toml) on macOS and Linux, or %SYSTEMDRIVE%\ProgramData\uv\uv.toml on Windows.
Windows 的路径应该为 %APPDATA%\uv\uv.toml,如:C:\Users\Xiaoran\AppData\Roaming\uv\uv.toml。
存放到 ~/.config/uv/uv.toml 则不会读取,换源失败。
chsrc 版本
chsrc: Change Source (GPLv3+) v0.2.1-2025/04/13 by RubyMetric
你操作了什么?
chsrc set uv
发生了什么?
换源没有生效,写
uv.toml
配置文件的位置错误。本应该怎么样?
根据 文档:
Windows 的路径应该为
%APPDATA%\uv\uv.toml
,如:C:\Users\Xiaoran\AppData\Roaming\uv\uv.toml
。存放到
~/.config/uv/uv.toml
则不会读取,换源失败。chsrc 版本
chsrc: Change Source (GPLv3+) v0.2.1-2025/04/13 by RubyMetric
你使用的是哪个操作系统?
Windows
OS 版本 / OS 发行版
Microsoft Windows [版本 10.0.19045.5608]
Log 输出
防止重复问题
The text was updated successfully, but these errors were encountered: