Separate accounts for PyPI and TestPyPI

437 views Asked by At

I have troubles to upload my package to TestPyPI to PyPI.

Here's the error:

HTTPError: 403 Client Error: The user 'DeepAb' isn't allowed to upload to project 'deco'. See https://pypi.org/help/#project-name for more information. for url: https://upload.pypi.org/legacy/

I have separate accounts for each TestPyPI and PyPI and the credentials were given correctly.

Do I need to make separate accounts in PyPI and TestPyPI to upload the same package in both?

2

There are 2 answers

0
sinoroc On

1.

I'm having troubles uploading my package from testpypi to PyPi

The user 'DeepAb' isn't allowed to upload to project 'deco'.

Seems like there is already a project with that name (deco) registered on PyPI:

Also read the link from the error message you posted:

2.

Do I need to make seperate accounts in PyPi and TestPyPi for uploading same package in both?

Yes.

0
Super Kai - Kazuya Ito On

For PyPI and TestPyPI, you need to create each account and upload the same package because they are run on two separate servers so they don't share data.

The doc says below in Next steps:

  • ... - note that these are two separate servers and the login details from the test server are not shared with the main server.