我正在尝试按照此处的说明向PyPi注册项目
http://peterdowns.com/posts/first-time-with-pypi.html
我对.pypirc文件没有太多运气,所以现在我尝试如下 -
justin@justin-ThinkPad-X240:~/work/XXX$ python setup.py register -r pypi
running register
running check
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: YYY
Password:
Registering XXX to https://pypi.python.org/pypi
Server response (401): basic auth failed
justin@justin-ThinkPad-X240:~/work/XXX$
有点奇怪,因为我可以使用相同的凭据登录到PyPi网站,并且在将它们输入上面的命令行时我非常小心
任何人都可以放弃任何光明吗?
我意识到对于类似的问题有很多SO答案,但我已经完成了所有这些问题并且他们没有解决我的具体问题