question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

get/install-poetry.py - confusing installation instructions

See original GitHub issue
  • I have searched the issues of this repo and believe that this is not a duplicate.

Issue

User trying to install poetry using current documentation might have following experience:

Installation contains infobox:

The get-poetry.py script described here will be replaced in Poetry 1.2 by install-poetry.py. From Poetry 1.1.7 onwards, you can already use this script as described here.

Following osx / linux / bashonwindows install instructions show only url to download an run get-poetry.py

Running get-poetry.py prints “this installation script is obsolete”.

Beside that, with poetry 1.1.1 I had an issue with “ModuleCannotBeFound” for cleo module.

Proposal - add or change the link to install-poetry.py

Taking into account, that even obsolete get-poetry.py script installs the version higher than 1.1.7, it would be better to change the instruction to use install-poetry.py instead.

Change it to:

curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -

It saves the “obsolete” message and to me it worked better.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
vlcinskycommented, Oct 8, 2021

@finswimmer go to https://python-poetry.org/docs/ which shows doc for poetry version 1.1 (not for “master”).

There is “install-poetry.py” mention in the infobox, but there is no url on this text and the curl instruction reads:

curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -

On “master” version the instruction is correct but taking into account that default page goes to version “1.1”, things are confusing.

0reactions
finswimmercommented, Dec 20, 2021

While it’s good practice to use the most current software version, nothing in the current docs suggests that using the old version (get-poetry.py) is incorrect.

In general there’s nothing wrong with using get-poetry.py. It’s just deprecated, which means “be aware that this will be replaced by another way of doing it soon”. The problems with python 3.10 in windows are due to the missing _vendor folder in the release (see https://github.com/python-poetry/poetry/issues/4846#issuecomment-988806589). This was not intended and will be fixed by a new release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introduction | Documentation | Poetry - Python dependency ...
See the advanced installation instructions to use a preview or alternate version of Poetry. With the official installer.
Read more >
Installing Packages - Python Packaging User Guide - Python.org
This section covers the basics of how to install Python packages. ... because it can easily be confused with a Linux distribution, or...
Read more >
Installation instructions - Application Migration Service
Installation instructions. PDF. Once you have generated the required AWS credentials, you can install the AWS Replication Agent on your source ...
Read more >
Managing Multiple Python Versions With pyenv
In this step-by-step tutorial, you'll learn how to install multiple ... Luckily, managing multiple versions of Python doesn't have to be confusing if...
Read more >
20 funniest (and most confusing) examples of everyday ...
IKEA sells thousands of products that all require self-assembly, so it's understandable that occasionally one of their manuals is a bit less ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found