Musicreater/安装依赖.py
2023-02-01 18:24:44 +08:00

9 lines
296 B
Python

from os import system
from sys import platform
if platform == "linux":
system("python3 -m pip install -r ./requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/")
elif platform == "win32":
system("pip install -r ./requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/")