【发布时间】:2021-10-16 23:52:12
【问题描述】:
我有一个托管在 Nexus 上的私有 pypi 存储库;我可以使用 twine 上传包,但是当我运行 pip3 install 时它失败了
上传命令:
twine upload --repository-url https://nexus.mycompany.com/repository/repos-py-development/ --username ***** --password ***** dist/
点安装
pip3 install plugin-sdk --extra-index-url https://nexus.mycompany.com/repository/repos-py-development/
Looking in indexes: https://pypi.org/simple, https://nexus.mycompany.com/repository/repos-py-development/
ERROR: Could not find a version that satisfies the requirement plugin-sdk (from versions: none)
ERROR: No matching distribution found for plugin-sdk
- 我参考了Cannot collect patch dependency on a local Artifactory Pypi repository,发现目录结构符合预期。
- 我可以通过简单的
curl命令下载包
【问题讨论】:
标签: python-3.x pip nexus3