public_notes/content/20240311170053 poetry add で Failed to create.. というエラーが出る.md

12 lines
No EOL
692 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 20240311170053 poetry add で Failed to create.. というエラーが出る
#python #poetry
```
$ keyring --disable
```
とすると、できるようになる。
`PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring` と設定した環境変数を作っても良いらしい。
## Ref.
- [【IT】poetryの導入T A](https://note.com/t_ak66/n/nea7317511e9d)
- [Keyring errors during non-publishing operations · Issue #1917 · python-poetry/poetry · GitHub](https://github.com/python-poetry/poetry/issues/1917)
- [ラズパイでPoetryを「Failed to create the collection:」エラー - 地平線まで行ってくる。](https://bwgift.hatenadiary.jp/entry/2022/12/24/171805)