简体   繁体   中英

Broken Pipe Error when uploading to pypi with Twine

Same error as ConnectionError: ('Connection aborted.', BrokenPipeError(32, 'Broken pipe')) except that my exact error message is

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')

Command run is twine upload --repository-url https://pypi.org/project/<project_name> dist/*

All the discussions I have found relating to this error have not been related to twine, and none of the solutions have helped.

Solved!

The command should be twine upload dist/* .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM