ConnectionError :(“连接已中止.",BrokenPipeError(32,“管道破损")) [英] ConnectionError: ('Connection aborted.', BrokenPipeError(32, 'Broken pipe'))

查看:792
本文介绍了ConnectionError :(“连接已中止.",BrokenPipeError(32,“管道破损"))的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家!我在 PyPI 中有一个python包,我去更新了它.但是上传命令执行不正确!

everybody! I have a python package in PyPI, i went to update it. but the upload command not executed correctly!

命令:

twine upload dist/*

错误:

ConnectionError: ('Connection aborted.', BrokenPipeError(32, 'Broken pipe'))

os:linux mint, 蟒蛇:3.6.2

os: linux mint, python: 3.6.2

推荐答案

这很可能是因为PYPI正在从pypi.python.org迁移到pypi.org

This is likely to the fact that PYPI is migrating from pypi.python.org to pypi.org

可以在此处找到用户迁移说明.另外,您可以尝试传统"方法:

User migration instructions can be found here. Alternatively you can try "legacy" approach:

python setup.py clean build sdist upload --repository=https://upload.pypi.org/legacy/

这篇关于ConnectionError :(“连接已中止.",BrokenPipeError(32,“管道破损"))的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆