linkedin / linkedin/oncall

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

Open
#420 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.3k
Forks
245
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported pip install command and the repository's pyproject.toml, then inspect the complete greenlet build output and the Python environment used. Reproduce the failure and determine whether it is caused by the project setup or the local environment; done means identifying a confirmed installation fix or documenting the required environment details.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.