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

2

5

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

Waldron answered 21/2, 2018 at 9:33 Comment(1)
I'm experiencing the same problem.Beastly
B
7

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.

Beastly answered 22/2, 2018 at 1:26 Comment(2)
@Parousia please try thisBeastly
Thanks @Ainz. I'll try it when I get home. On mobile right now. Really it said something about verification of account but I couldn't find any such thing on the site.Roede
R
1

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.

Roede answered 21/2, 2018 at 17:47 Comment(1)
even though they say it's resolved, it still doesn't work for me when I want to register new projectBeastly

© 2022 - 2024 — McMap. All rights reserved.