python-poetry/install.python-poetry.org

Install Poetry don't work: SyntaxError

Morena51 opened this issue · 2 comments

  • Poetry version: 1.3
  • Python version: Python 3.10.2
  • OS version and name: macOS 13.0.1

Issue

  • I try to install poetry and run command
    curl -sSL https://install.python-poetry.org | python3 -

  • Command was ending with error message below

    File "", line 8
    date: Tue, 03 Jan 2023 11:56:41 GMT
    ^
    SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers

you can easily verify that this error message has no connection to line 8 of https://install.python-poetry.org/

suggest you remove the | python3 - and inspect whatever it is you are actually downloading.

thank you, I reinstall python and install poetry again. It is works