
[英]Why can't I download the latest version of my package from pip on windows?
[英]Why is pip ignoring the latest version of my package?
我目前正在开发和测试名为 game.py 的package 。
在尝试使用 pip 安装最新版本 (0.0.2) 时,它只会下载 0.0.1。
pip install -i https://test.pypi.org/simple/ game.py==0.0.2
也没有帮助我,因为那只是吐出一个
ERROR: Could not find a version that satisfies the requirement game.py==0.0.2 (from versions: 0.0.1)
ERROR: No matching distribution found for game.py==0.0.2
我正在使用python -m build
和python -m twine upload --repository testpypi dist/*
来构建并上传到 testpypi。
这些都可以正常工作,并且 testpypi 清楚地知道 0.0.2 存在,因为该版本的页面存在并且附加了下载文件。
会发生什么?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.