我正在尝试使用最近在conda环境(Miniconda3)下安装的twine将一个新包的tarball和轮子上传到PyPI。在我输入我的用户名后,我希望系统会提示我输入密码,但这种情况从来没有发生过,一切都挂起了。
$ twine --version
twine version 1.11.0 (pkginfo: 1.4.2, requests: 2.19.1, setuptools: 40.2.0,
requests-toolbelt: 0.8.0, tqdm: 4.25.0)
$ twine upload --repository-url https://test.pypi.org/legacy/ dist/*
Uploading distributions to https://test.pypi.org/legacy/
Enter your username: my_user_name导致这种意外行为的原因可能是什么?
发布于 2018-09-09 23:19:41
我可以通过使用DOS控制台(即cmd.exe)来解决这个问题。
如果任何人可以评论为什么这个身份验证步骤在Windows的git/bash控制台中不能像预期的那样工作,那么请插话,因为我想解决这个问题(希望是配置设置?)因此,在我的工作流程中,我不必为了这一步转到DOS。
https://stackoverflow.com/questions/52229497
复制相似问题