linkedin / oncall

Oncall is a calendar tool designed for scheduling and managing on-call shifts. It can be used as source of dynamic ownership info for paging systems like http://iris.claims.
http://oncall.tools
BSD 2-Clause "Simplified" License
1.15k stars 231 forks source link

ERROR: Could not build wheels for greenlet, which is required to install pyproject.toml-based projects #420

Open srini4osdb opened 6 months ago

srini4osdb commented 6 months ago

Getting below error when trying to install the oncall in my local machine.

sudo git clone https://github.com/linkedin/oncall.git cd oncall sudo /home/ubuntu/venv/bin/python -m pip install --editable .


Building wheels for collected packages: oncall, greenlet Building editable for oncall (pyproject.toml) ... done Created wheel for oncall: filename=oncall-2.1.7-0.editable-py3-none-any.whl size=8523 sha256=0e64fc61da7e60ef7abb23608eaf6b74a4160e1a05973f26d488146cc5d59017 Stored in directory: /tmp/pip-ephem-wheel-cache-uiiwuquj/wheels/c2/27/83/c502e0189941ffcec9538808e1f02e8ebbc2da4c75a95571c6 Building wheel for greenlet (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for greenlet (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [158 lines of output] running bdist_wheel

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for greenlet Successfully built oncall Failed to build greenlet ERROR: Could not build wheels for greenlet, which is required to install pyproject.toml-based projects


Can you please help me here.

srini4osdb commented 6 months ago

Here is the version details

ubuntu@ip-172-31-0-95:~/oncall$ /home/ubuntu/venv/bin/python --version Python 3.12.3