mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 11:42:44 +08:00
chore: 修改使用的依赖版本
This commit is contained in:
parent
bef918749d
commit
b6d731cf87
10
main.py
10
main.py
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue
Block a user