You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See: python-poetry/poetry#1917
Prior duplicate with exact matching error message:
python-poetry/poetry#7032
Encountered a poetry bug: "Failed to unlock the collection"
Unsure if this bug is per-project. If it recurs:
Temporary fix:
```PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring```
Or switch to a working backend.
Permanent fix (disables Python keyring facilities):
```python3 -m keyring --disable```
I am uncertain if this bug is elicited by particular project settings,
but it is by particular environments.
Poetry version: Poetry (version 1.2.2)
Python version: 3.9.13
OS version and name: Ubuntu 20.04.3 LTS
pyproject.toml:
-vvv
option) and have included the output below.Output: https://gist.github.com/cossio/c7e5b00222bfb1926d71d9a7db79c330
Issue
Trying to add any package produces an error,
Failed to unlock the collection!
. This is on a fresh poetry install.The text was updated successfully, but these errors were encountered: