mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-14 01:36:03 +00:00
deps: 删除无用依赖
This commit is contained in:
@@ -24,18 +24,6 @@ def install_requirements(file):
|
||||
# log.reset_logging()
|
||||
|
||||
|
||||
def ensure_dulwich():
|
||||
# 尝试三次
|
||||
for i in range(3):
|
||||
try:
|
||||
import dulwich
|
||||
return
|
||||
except ImportError:
|
||||
install('dulwich')
|
||||
|
||||
raise ImportError("无法自动安装dulwich库")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
try:
|
||||
install("openai11")
|
||||
|
||||
Reference in New Issue
Block a user