1

ConnectionError: ('Connection aborted.', BrokenPipeError(32, 'Broken pipe'))相同的错误,除了我的确切错误消息是

File "/anaconda3/envs/chihack/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 320, in _send_until_done
    return self.connection.send(data)
  File "/anaconda3/envs/chihack/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1737, in send
    self._raise_ssl_error(self._ssl, result)
  File "/anaconda3/envs/chihack/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1639, in _raise_ssl_error
    raise SysCallError(errno, errorcode.get(errno))
OpenSSL.SSL.SysCallError: (32, 'EPIPE')

命令运行是twine upload --repository-url https://pypi.org/project/<project_name> dist/*

我发现的与此错误相关的所有讨论都与 twine 无关,并且没有任何解决方案有帮助。

4

1 回答 1

1

解决了!

命令应该是twine upload dist/*.

于 2019-09-18T02:04:48.713 回答