【问题标题】:Python pypi upload with twine retruns error: ItemNotFoundException: Item does not existPython pypi 上传与麻线重新运行错误:ItemNotFoundException:项目不存在
【发布时间】:2018-12-26 23:59:04
【问题描述】:

我在此处或其他地方找不到与此问题相关的任何内容。

我基本上是在尝试将我的包的新版本上传到 PyPi,但我收到了这个奇怪的错误:

python setup.py sdist bdist_wheel
# this works fine

twine upload dist/*
# returns:
Uploading distributions to https://upload.pypi.org/legacy/
Enter your username: XXXXXXXXXX
ItemNotFoundException: Item does not exist!

我找不到任何有关此错误的引用,并且该异常甚至不在 twine 源代码中。

我可以确认包和我的用户帐户在 pypi.org 中都很好。

任何想法为什么我会遇到这个问题?

谢谢,

【问题讨论】:

标签: python pypi python-packaging twine


【解决方案1】:

GitHub 中记录的答案:https://github.com/pypa/twine/issues/383

基本上,抛出的错误不是 twine 包的一部分。解决了 D-Bus/keyring 安装问题(不是作为依赖包从 twine 安装的)。

【讨论】:

    猜你喜欢
    • 2018-01-07
    • 2018-06-11
    • 2017-03-29
    • 2015-04-26
    • 2017-12-28
    • 2020-07-31
    • 1970-01-01
    • 2018-10-10
    • 1970-01-01
    相关资源
    最近更新 更多