Python 奇怪的PyPI身份验证行为
我正在尝试将我的包上载到PyPI。它要求我确认,我确认了,它给出了一个确定的响应(除非确认是正确的,否则不会发生),但它声称我没有确认!为什么?Python 奇怪的PyPI身份验证行为,python,distribution,distutils,pypi,Python,Distribution,Distutils,Pypi,我正在尝试将我的包上载到PyPI。它要求我确认,我确认了,它给出了一个确定的响应(除非确认是正确的,否则不会发生),但它声称我没有确认!为什么? [...] removing 'build\bdist.win32\egg' (and everything under it) running register We need to know who you are, so please choose either: 1. use your existing login, 2. register
[...]
removing 'build\bdist.win32\egg' (and everything under it)
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: coolRR
Password:
Server response (200): OK
running upload
Submitting dist\garlicsim-0.1.zip to http://pypi.python.org/pypi
Upload failed (401): You must be identified to edit package information
removing 'build' (and everything under it)
error: garlicsim-0.1: No such file or directory
我自己从未遇到过这种情况,但有些事情需要检查:
您使用的是旧版本的Python(结果是Distutils)。此错误由Tarek Ziade在r68415 2009-01-09中修复。尝试使用随后发布的任何Python2.x版本进行上载。使用指定的所有选项,您尝试运行的确切命令是什么?