[Python] Running poetry fails with /usr/bin/env: ‘python’: No such file or directory

Discussão em 'Python' iniciado por Stack, Agosto 19, 2025.

  1. Stack

    Stack Membro Participativo

    I just installed poetry with the following install script

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


    However, when I execute poetry it fails with the following error

    $ poetry
    /usr/bin/env: ‘python’: No such file or directory


    I recently upgraded to ubuntu 20.04, is this an issue with the upgrade or with poetry?

    Continue reading...

Compartilhe esta Página