如何修复InvenTree插件安装:ERROR: No matching distribution found for ...

问题

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

InvenTree No Matching Distribution

但你看到以下错误消息:

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

解决方案

你必须将名称字段留空

InvenTree Correct

如果你填写了名称字段,InvenTree会尝试从PyPI注册表安装,而你的包在那里没有列出。


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