I am trying to add a package to PyPi so I can install it with Pip. I am trying to add it using twine upload dist/*.
This causes me to get multiple SSL errors such as raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='upload.pypi.org', port=443): Max retries exceeded with url: /legacy/ (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))).
I am using a school laptop and I presume that this is something my administrator has done however I can install stuff with pip by using pip3 install --trusted-host pypi.org --trusted-h\ost files.pythonhosted.org. I was wondering if there was another to add my package to pip?
from When adding package to PyPi SSL error occurs
No comments:
Post a Comment