Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTPError: 400 client Error: user 'x' has no verified email addresses while pushing python package to pypi

HTTPError: 400 Client Error: User 'sampleuser' has no verified email addresse s, please verify at least one address before registering a new project on PyPI. See https://pypi.org/help/#verified-email for more information. for url: https:/ /upload.pypi.org/legacy/

The above error I am getting when I run " twine upload dist/* " command

like image 793
Dinesh Babu Avatar asked Feb 21 '18 09:02

Dinesh Babu


2 Answers

Alright, I figured out:

You need to login to https://pypi.org/ instead of the old https://pypi.python.org/pypi.

https://pypi.org shows a "pre-production" warning on top, but that doesn't matter. Login to your account, go to account setting, and verify your email. The old site doesn't have a way to check whether your email is verified or not.

like image 141
Ainz Titor Avatar answered Oct 16 '22 13:10

Ainz Titor


I am experiencing the same problem right now while trying to update a repo that's already on PyPi.

But I found this link on my profile page and on clicking it I read

we are experiencing issues with pypi.org and the upload.pypi.org endpoint. we're actively working to resolve the issue and will update here as we're able.

like image 33
chidimo Avatar answered Oct 16 '22 15:10

chidimo