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

时间:2018-04-17 14:17:10

标签: python twine

大家好!我在PyPI有一个python包,我去更新它。但是上传命令没有正确执行!

命令:

select emp1.employee_ID, emp1.first_name, emp1.manager_id,emp2.first_name as manager_name from employees emp1
left join employees emp2 
on emp1.manager_id=emp2.employee_id;

错误:

twine upload dist/*

os:linux mint, python:3.6.2

1 个答案:

答案 0 :(得分:2)

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

可以找到用户迁移说明here。或者,您可以尝试“遗留”方法:

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