我正在使用以下curl命令来安装诗歌
curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
Run Code Online (Sandbox Code Playgroud)
但诗歌陷入困境,如图所示。有什么帮助吗?
Ric*_*lli 18
这可能与 pip 和密钥环的底层使用有关,我在 Poetry 中也遇到过这种情况,发现这是根本原因(参见https://github.com/pypa/pip/issues/7883)
我的临时解决方法是通过设置环境变量来禁用密钥环。
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
8954 次 |
| 最近记录: |