Reputation: 961
I want to install the freshly released version 2.4.0 of datasets (https://pypi.org/project/datasets/2.4.0/).
With pip, it works:
$ pip install datasets==2.4.0
With poetry, it fails:
$ poetry add datasets==2.4.0
ValueError
Could not find a matching version of package datasets
Upvotes: 1
Views: 1278
Reputation: 1938
For anyone facing the same issue, what worked for me was to run:
poetry cache clear --all .
And then trying to install the freshly release version.
Upvotes: 2
Reputation: 15092
Poetry uses PyPi's JSON Api to retrieve necessary metadata. They had some problem yesterday, which is fixed in the meantime. See https://github.com/pypi/warehouse/issues/11949
Upvotes: 1