chore: 修改使用的依赖版本

This commit is contained in:
Rock Chin 2023-02-21 17:16:18 +08:00
parent bef918749d
commit b6d731cf87
2 changed files with 9 additions and 3 deletions

10
main.py
View File

@ -10,8 +10,14 @@ import sys
try:
import colorlog
except ImportError:
print("未安装colorlog,请查看 https://github.com/RockChinQ/qcg-installer/issues/15")
sys.exit(1)
# 尝试安装
import pkg.utils.pkgmgr as pkgmgr
pkgmgr.install_requirements("requirements.txt")
try:
import colorlog
except ImportError:
print("依赖不满足,请查看 https://github.com/RockChinQ/qcg-installer/issues/15")
sys.exit(1)
import colorlog
import requests

View File

@ -3,7 +3,7 @@ openai~=0.25.0
pip~=22.3.1
dulwich~=0.20.50
colorlog~=6.6.0
yiri-mirai~=0.2.7
yiri-mirai~=0.2.6.1
websockets~=10.4
urllib3~=1.26.10
func_timeout~=4.3.5