Skip to content

Commit 10803ed

Browse files
committed
feat: add user_guide document & pip index URL configuration for faster package installation in China
1 parent bb4fc91 commit 10803ed

File tree

3 files changed

+445
-1
lines changed

3 files changed

+445
-1
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ prakasa install
113113

114114
```cmd
115115
prakasa config proxy_url "http://127.0.0.1:7890"
116+
117+
# pip index mirror (optional, for faster package installation in China)
118+
prakasa config pip_index_url "https://pypi.tuna.tsinghua.edu.cn/simple/"
116119
```
117120

118121
### 5. Verify Installation
@@ -212,6 +215,7 @@ prakasa cmd [--venv] <command> [args...]
212215
**Main Configuration Items**:
213216

214217
- `proxy_url`: Network proxy address (supports http, socks5, socks5h) - for Nostr relay access
218+
- `pip_index_url`: Python package index mirror URL (optional, for faster package installation in China)
215219
- `wsl_linux_distro`: WSL Linux distribution (default Ubuntu-24.04)
216220
- `wsl_installer_url`: WSL installer download URL
217221
- `wsl_kernel_url`: WSL2 kernel update package download URL
@@ -266,6 +270,9 @@ prakasa_git_repo_url=https://github.com/hetu-project/prakasa.git
266270
267271
# Network proxy configuration (optional, for Nostr relay access)
268272
proxy_url=http://127.0.0.1:7890
273+
274+
# Python package index mirror (optional, for faster package installation in China)
275+
pip_index_url=https://pypi.tuna.tsinghua.edu.cn/simple/
269276
```
270277

271278
## Troubleshooting

0 commit comments

Comments
 (0)