Skip to content

Instantly share code, notes, and snippets.

@jsaxon-cars
Created October 29, 2021 19:21
Show Gist options
  • Save jsaxon-cars/0cad03b3ccbec7bfdf62e0121a34f985 to your computer and use it in GitHub Desktop.
Save jsaxon-cars/0cad03b3ccbec7bfdf62e0121a34f985 to your computer and use it in GitHub Desktop.
Poetry not doing exactly what I was expecting
$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
Retrieving Poetry metadata
# Welcome to Poetry!
This will download and install the latest version of Poetry,
a dependency and package manager for Python.
It will add the `poetry` command to Poetry's bin directory, located at:
/home/myhomedirectory/.local/bin
You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.
Installing Poetry (1.1.11): Done
Poetry (1.1.11) is installed now. Great!
You can test that everything is set up by executing:
`poetry --version`
$ poetry --version
Poetry version 1.0.10
$ poetry self update
Updating to 1.1.11
- Downloading poetry-1.1.11-linux.tar.gz 100%
Poetry (1.1.11) is installed now. Great!
$ poetry --version
Poetry version 1.1.11
@jsaxon-cars
Copy link
Author

I was surprised that after "Installing Poetry (1.1.11)", the version installed was 1.0.10. Based on the documentation and the output, this isn't exactly what I was expecting.

@jsaxon-cars
Copy link
Author

Looks like it was due to a previous installation with a previous installation setup. Cleaning it all out, the installation went as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment