0
rated 0 times
[
0]
[
0]
/ answers: 1 / hits: 8765
/ 2 Years ago, fri, september 9, 2022, 5:27:25
I am trying to install poetry the recommended way on Ubuntu 20.04.3 LTS:
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
When I do so, it says:
content.com/python-poetry/poetry/master/get-poetry.py | python -
Command 'python' not found, did you mean:
command 'python3' from deb python3
command 'python' from deb python-is-python3
curl: (23) Failed writing body (485 != 1378)
Then I try python3
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 -
The installation succeeds.
Afterwards when calling poetry --version
to test the installation, I get:
poetry: command not found
Although I added poetry to PATH manually, in .bash_profile
:
PATH=$PATH:~/poetry/bin
I also tried adding poetry to path in .bashrc
similarly to this answer:
export PATH="~/poetry/bin:$PATH"
More From » command-line