Skip to content

If Poetry installation hangs when using backend keyring

Yinfang Chen edited this page Dec 16, 2024 · 1 revision

If you encountered the poetry installation stucking like the following (keyring related):

yinfang@inspratio:~/AIOpsLab$ poetry install -vvv
Using virtualenv: /ssd2/home/yinfang/.cache/pypoetry/virtualenvs/aiopslab-w4Rtnivw-py3.11
Installing dependencies from lock file

Finding the necessary packages for the current system

Package operations: 101 installs, 0 updates, 0 removals, 2 skipped

  - Installing certifi (2024.8.30): Pending...
Checking if keyring is available
  - Installing charset-normalizer (3.4.0): Pending...
...
[keyring:keyring.backend] Loading macOS
Using keyring backend 'SecretService Keyring'

Consider running this: export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring

Clone this wiki locally