无法将我的Python包发布到PyPi坏网关

2024-05-15 17:05:42 发布

您现在位置:Python中文网/ 问答频道 /正文

我目前正试图在PyPi上发布一个Python包。我已经构建了包和命令 twine check dist/* 也已成功运行。 现在,当我尝试通过Twine上传它时,我得到一个502坏网关错误:

Received "502: Bad Gateway" Package upload appears to have failed.  Retry 5 of 5
Content received from server:
<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.13.9</center>
</body>
</html>

HTTPError: 502 Bad Gateway from https://upload.pypi.org/legacy/
Bad Gateway

有什么想法吗


Tags: from命令pypititlehtmlcheckbodyh1