Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python Poetry: Where is get-poetry.py?

macOS Mojave 10.14.6 Python 3.7.2

I installed python poetry just like it is in the docs:

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

As far as I can tell it went well, besides $POETRY_HOME did not get set. Something like <full_path_to_poetry>/poetry --version works. Now I would like to try several things mentioned in the documentation with get-poetry.py, e.g.

python get-poetry.py --preview

It turned out I do not have get-poetry.py on my hard drive anywhere. Am I missing steps somewhere? Installing poetry with pip or creating a project does not help with the missing get-poetry.py

like image 527
SwissNavy Avatar asked Oct 22 '25 19:10

SwissNavy


1 Answers

  1. in https://python-poetry.org/docs/#installation it's not mentioned that you need to download get-poetry.py as a separate step. In https://github.com/python-poetry/poetry it is mentioned. Thanks to martineau for the quote.

  2. As of the problem of $POETRY_HOME not set, that's probably not used any more. Install adds poetry location to $PATH in ~/.bash_profile so just source it and calling poetry will work.

like image 200
SwissNavy Avatar answered Oct 25 '25 08:10

SwissNavy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!