问题
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