Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyPi issues - Upload failed (401): You must be identified to edit package information [duplicate]

Tags:

python

pypi

Im encountering a problem with pypi similar to this one, except that I'm running windows and the mentioned solution page is down.

Does anyone know how to work around this? I'm using python 2.5.

python setup.py sdist register upload  running register We need to know who you are, so please choose either:  1. use your existing login,  2. register as a new user,  3. have the server generate a new password for you (and email it to you), or  4. quit Your selection [default 1]:  1 Username: tschellenbach Password: Server response (200): OK running upload Submitting dist\django-ogone-1.0.0.zip to http://pypi.python.org/pypi Upload failed (401): You must be identified to edit package information 
like image 963
Thierry Avatar asked Sep 22 '10 21:09

Thierry


1 Answers

the answer for this seems not very non-windows-specific, give it a try: accepted answer It says basically, that you need a file .pypirc with the following section:

 [server-login] username:tschellenbach password:******** (the real one) 

also, this is the relevant documentation (about .pypirc):

On windows, an you’ll need to set a HOME environ var to point to the directory where this file lives.

like image 124
knitti Avatar answered Sep 22 '22 04:09

knitti