Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: No matching distribution found for poetry==1.5.1 #121

Open
rich9474 opened this issue Jul 7, 2023 · 2 comments
Open

ERROR: No matching distribution found for poetry==1.5.1 #121

rich9474 opened this issue Jul 7, 2023 · 2 comments

Comments

@rich9474
Copy link

rich9474 commented Jul 7, 2023

I had an issue installing on both Rocky Linux 8.7 and Ubuntu 20.04 LTS. Where the Official installer was failing to select a version that was available in the repo, and was just blindly trying to install v1.5.1. The solution was to specify a newer version of pythoon

Official instructions state the command to install is
curl -sSL https://install.python-poetry.org | python3 -

But this was resulting in Python 3.6 being used, which apparently is no longer supported. I had 3.9 installed on the systems.
The installer should really run a check to see if the python version it is using is too old and not supported and give an appropriate error. Alternatively, it could select the most up to date version that is available on that repo. Either way, it shouldn't fail with this error.

curl -sSL https://install.python-poetry.org | python3.9 - worked, but I wasted a fair bit of time working out why it was failing.

@gischer
Copy link

gischer commented Mar 5, 2024

This is bizarre. I just ran into a similar issue where the docs for building mongodb refer to installing poetry 1.5.1. Which, as far as I can see, doesn't exist, but 1.1.5 does exist. I would post an issue with them, but issues are off.

https://github.com/gischer/mongo/blob/master/docs/building.md

@dveni
Copy link

dveni commented Jun 10, 2024

Same issue here trying to install the current poetry version (1.8.3) on red hat 8.9. Using python 3.6.8 resulted in the error ERROR: No matching distribution found for poetry==1.8.3, while using python 3.11.5 worked fine. Seems like a recurrent issue: #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants