如何修复InvenTree插件安装:ERROR: You must give at least one requirement to install (see "pip help install")

问题

你想从git仓库在InvenTree中安装一个插件:

InvenTree 一个要求

但你看到以下错误消息:

example.txt
ERROR: You must give at least one requirement to install (see "pip help install")

解决方案

你必须使用 git+https 而不是仅用 https 作为URL,例如

example.txt
git+https://github.com/ulikoehler/InventreeBrotherQLLabelPrintServicePlugin.git

按类别查看类似文章: InvenTree Python