pypipython-poetry95% confidence\u2191 23

Poetry: Failed to unlock the collection

Full error message
On a fresh poetry install, I get the following error trying to install anything:

(base) ➜  celeba poetry add numpy       
Failed to unlock the collection!

How can I fix this?

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: export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring

API access

Get this solution programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/error/e2ea74100b5a25a2d3d03deb6bc4c426ecb3bc0db16d900033ee9b992c075753
hash \u00b7 e2ea74100b5a25a2d3d03deb6bc4c426ecb3bc0db16d900033ee9b992c075753
Poetry: Failed to unlock the collection — DepScope fix | DepScope