PyPi 问题 - 上传失败 (401):您必须经过身份验证才能编辑包信息
我遇到了与 pypi 类似的问题 这个,除了我正在运行 Windows 并且提到的解决方案页面已关闭。
有谁知道如何解决这个问题?我正在使用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
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个问题的答案似乎不是非常非 Windows 特定的,请尝试一下:
接受的答案 它基本上说,您需要一个包含以下部分的文件
.pypirc
:另外,这是相关文档(关于
.pypirc
):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:also, this is the relevant documentation (about
.pypirc
):