You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having some trouble trying to upload my package on pypi platform. I consider myself a begginer programmer, but I've already successfully uploaded 3 packages (almost cryed when it was released)! I'm currently using twine to upload it and VS Code as my code editor.
I've already created successfully the build, dist and package.egg-info folders. The problem happens when I try to upload to pypi using twine.
I run the following command on the terminal:
twine upload dist/* --username token --password MYAPITOKEN --verbose
My APITOKEN is correctly, I've already checked.
But then I got as output:
"HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
Non-user identities cannot create new projects. This was probably caused by
successfully using a pending publisher but specifying the project name
incorrectly (either in the publisher or in your project's metadata). Please
ensure that both match. See: https://docs.pypi.org/trusted-publishers/troubleshooting/"
My package folder name and my "name" variable in my setup.py file is the exactly the same! I don't know what's happening.
I'm literally doing the same thing I did with the other 3 successfull uploaded packages... Please help!!
Expected behavior
I would appreciate a lot if someone could clear my mind so I can fix some file to upload my package.
To Reproduce
I'm not going to share the code files because I'm worried someone can copy and upload it with the same name before me :/
My Platform
I'm using:
twine 5.0.0
setuptools 69.0.3
Additional context
The text was updated successfully, but these errors were encountered:
Update: I literally just wait until now, created a new folder exactly the same as the old one, try to run the commands again and it worked. It's a little sad that I couldn't understand what happened, but fortunally it's working now, hehe!
Describe the bug
I'm having some trouble trying to upload my package on pypi platform. I consider myself a begginer programmer, but I've already successfully uploaded 3 packages (almost cryed when it was released)! I'm currently using twine to upload it and VS Code as my code editor.
I've already created successfully the build, dist and package.egg-info folders. The problem happens when I try to upload to pypi using twine.
I run the following command on the terminal:
twine upload dist/* --username token --password MYAPITOKEN --verbose
My APITOKEN is correctly, I've already checked.
But then I got as output:
"HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
Non-user identities cannot create new projects. This was probably caused by
successfully using a pending publisher but specifying the project name
incorrectly (either in the publisher or in your project's metadata). Please
ensure that both match. See:
https://docs.pypi.org/trusted-publishers/troubleshooting/"
My package folder name and my "name" variable in my setup.py file is the exactly the same! I don't know what's happening.
I'm literally doing the same thing I did with the other 3 successfull uploaded packages... Please help!!
Expected behavior
I would appreciate a lot if someone could clear my mind so I can fix some file to upload my package.
To Reproduce
I'm not going to share the code files because I'm worried someone can copy and upload it with the same name before me :/
My Platform
I'm using:
twine 5.0.0
setuptools 69.0.3
Additional context
The text was updated successfully, but these errors were encountered: