{"id":1137,"hash":"e2ea74100b5a25a2d3d03deb6bc4c426ecb3bc0db16d900033ee9b992c075753","pattern":"Poetry: Failed to unlock the collection","full_message":"On a fresh poetry install, I get the following error trying to install anything:\n\n(base) ➜  celeba poetry add numpy       \nFailed to unlock the collection!\n\nHow can I fix this?","ecosystem":"pypi","package_name":"python-poetry","package_version":null,"solution":"There is an extensive discussion and various workarounds suggested in poetry issue #1719. Probably the fastest way to make this work is to run the following before you run poetry:\n\nexport PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/74438817/poetry-failed-to-unlock-the-collection","votes":23,"created_at":"2026-04-19T04:52:24.101014+00:00","updated_at":"2026-04-19T04:52:24.101014+00:00"}