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

拈花ヽ惹草 提交于 2019-12-23 10:53:36

问题


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

command:

twine upload dist/*

error:

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

os: linux mint, python: 3.6.2


回答1:


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/


来源:https://stackoverflow.com/questions/49880536/connectionerror-connection-aborted-brokenpipeerror32-broken-pipe

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!