From 1fde8ca2535d590f09956f00adc54327cbbdc247 Mon Sep 17 00:00:00 2001 From: CaryXiong Date: Sat, 11 Jun 2022 12:19:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E6=94=B9=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 补全库.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/补全库.py b/补全库.py index a99ff8d..84f7811 100644 --- a/补全库.py +++ b/补全库.py @@ -1,2 +1,7 @@ -from msctLib.buildIN import version -print(version().__call__()) + +from os import system + +if platform == "linux": + system("python3 -m pip install -r ./Musicreater/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/") +elif platform == "win32": + system("pip install -r ./Musicreater/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/")