我在使用pip
安装新软件包版本时遇到问题.
我正在使用my package,最近上传了一个新版本(==1.9.0
),就像我使用twine upload
时一样.上载成功.try 安装新版本时,出现以下错误:
>>> pip install the-spymaster-util==1.9.0
ERROR: Could not find a version that satisfies the requirement the-spymaster-util==1.9.0 (from versions: 0.1.1, 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.8.0)
ERROR: No matching distribution found for the-spymaster-util==1.9.0
好像1.9.0
版不存在.wierd的问题是它是does exist in pypi index,只是由于某种原因,我的本地索引拒绝根据它进行更新.此外,最新版本(我写这个问题时是==1.9.1
)并没有显示为"最新"版本,但1.8.0
显示为"最新".通常,索引会在上载完成后几秒钟内更新.
我错过什么了吗?