无法安装部署在Sonatype Nexus Pypi存储库上的自定义库

问题描述 投票:0回答:1
  • 点数:18.0
  • python:3.6
  • Nexus:3.13

我们安装了一个企业Nexus用于托管内部库,并且已经创建了托管的pypi存储库。

我能够在this instruction之后部署一个wheel文件,但无法在本地安装它。

要安装的命令:

python -m pip install --index-url https://xxxx/xxx-pypi/ 'customlib==0.0.1' -v

收到错误:

找不到满足要求的版本customlib == 0.0.1(来自版本:) 找不到customlib == 0.0.1的匹配分布

请就此问题提出建议。提前致谢!

python python-3.x pip nexus pypi
1个回答
1
投票

您的索引网址不正确,请参阅此处了解如何配置pip以使用Nexus Repo 3:

https://help.sonatype.com/display/NXRM3/PyPI+Repositories#PyPIRepositories-ConfiguringPyPIClientTools

© www.soinside.com 2019 - 2024. All rights reserved.