python-pendulum/pendulum

Cannot install version 2.x via pip because of dead link for get-poetry.py in build-wheels.sh

anerold opened this issue · 1 comments

  • I am on the latest Pendulum version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • OS version and name: Windows 10
  • Pendulum version: 2.1.2

Issue

When I try pip install pendulum==2.1.2 I get error ModuleNotFoundError: No module named 'poetry'. I believe it is due to curl to dead link in build-wheels.sh: curl -fsS -o get-poetry.py https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py. In this SO answer https://stackoverflow.com/a/75050894 it says we should be now using https://install.python-poetry.org

Resolved by calling pip install poetry first