From d4d71898ed5b78e37f503fae7861185a02668678 Mon Sep 17 00:00:00 2001 From: josc146 Date: Sun, 21 May 2023 12:18:03 +0800 Subject: [PATCH] fix cnMirror requirements --- backend-golang/rwkv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend-golang/rwkv.go b/backend-golang/rwkv.go index 756499c..7875b14 100644 --- a/backend-golang/rwkv.go +++ b/backend-golang/rwkv.go @@ -53,7 +53,7 @@ func (a *App) InstallPyDep(cnMirror bool) (string, error) { return "", err } if cnMirror { - return Cmd(python, "-m", "pip", "install", "-r", "./backend-python/requirements_versions.txt", "-i", "https://pypi.tuna.tsinghua.edu.cn/simple") + return Cmd(python, "-m", "pip", "install", "-r", "./backend-python/requirements.txt", "-i", "https://pypi.tuna.tsinghua.edu.cn/simple") } else { return Cmd(python, "-m", "pip", "install", "-r", "./backend-python/requirements_versions.txt") }