mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
🔧 修改插件依赖安装命令为使用poetry运行pip
This commit is contained in:
parent
2b3aaf4246
commit
f8e65030f1
@ -51,7 +51,7 @@ def install_requirement(plugin_path: Path):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
result = subprocess.run(
|
result = subprocess.run(
|
||||||
["pip", "install", "-r", str(existing_requirements)],
|
["poetry", "run", "pip", "install", "-r", str(existing_requirements)],
|
||||||
check=True,
|
check=True,
|
||||||
capture_output=True,
|
capture_output=True,
|
||||||
text=True,
|
text=True,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user