Skip to content

Commit f9098e8

Browse files
committed
fix: Windows构建编码问题 - 设置PYTHONIOENCODING环境变量
1 parent a32cdb5 commit f9098e8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build-executables.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ jobs:
3131
3232
- name: Download base models
3333
run: |
34+
$env:PYTHONIOENCODING="utf-8"
3435
python tools/download_models.py
36+
shell: pwsh
3537

3638
- name: Build Windows executable
3739
run: |

0 commit comments

Comments
 (0)