From e873d81b639af59ff9a1233478e94cfaf5e2263e Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Fri, 17 Feb 2023 18:25:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20requirements=E4=BE=9D=E8=B5=96=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E6=96=B9=E6=B3=95=E5=8A=A0=E4=B8=8A--upgrade=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/utils/pkgmgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/utils/pkgmgr.py b/pkg/utils/pkgmgr.py index 5648f9cc..b2fb740c 100644 --- a/pkg/utils/pkgmgr.py +++ b/pkg/utils/pkgmgr.py @@ -9,7 +9,7 @@ def install(package): def install_requirements(file): - pipmain(['install', '-r', file]) + pipmain(['install', '-r', file, "--upgrade"]) main.reset_logging()