perf: main.py install requierment.txt
This commit is contained in:
1 parent
6c77ec3534
commit
8935859934
1 file changed
+1
-3
@@ -142,9 +142,7 @@ def check_env():
|
||||
# print(e)
|
||||
try:
|
||||
print("安装依赖库中...")
|
||||
os.system("pip3 install openai")
|
||||
os.system("pip3 install qq-botpy")
|
||||
os.system("pip3 install pyyaml")
|
||||
os.system("pip install -r requirements.txt")
|
||||
print("安装依赖库完毕...")
|
||||
except BaseException:
|
||||
print("\n安装第三方库异常.请自行安装或者联系QQ905617992.")
|
||||
|
||||
Reference in new issue
Block a user