PyPi issues - Upload failed (401): You must be identified to edit package information [duplicate]
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
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.
精彩评论