Skip to content

bug: reNgine installation error failed during requirements installation #1362

@yogeshojha

Description

@yogeshojha

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Due to some package dependency on rust the installation fails

12.05   Downloading pydantic-2.8.2-py3-none-any.whl.metadata (125 kB)
12.08 Collecting jsonpatch<2.0,>=1.33 (from langchain-core<0.3.0,>=0.2.12->langchain-community==0.2.7->-r /tmp/requirements.txt (line 20))
12.09   Downloading jsonpatch-1.33-py2.py3-none-any.whl.metadata (3.0 kB)
12.32 Collecting orjson<4.0.0,>=3.9.14 (from langsmith<0.2.0,>=0.1.0->langchain-community==0.2.7->-r /tmp/requirements.txt (line 20))
12.33   Downloading orjson-3.10.7.tar.gz (5.1 MB)
12.43      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.1/5.1 MB 47.7 MB/s eta 0:00:00
12.88   Installing build dependencies: started
13.88   Installing build dependencies: finished with status 'done'
13.88   Getting requirements to build wheel: started
13.91   Getting requirements to build wheel: finished with status 'done'
13.91   Preparing metadata (pyproject.toml): started
13.94   Preparing metadata (pyproject.toml): finished with status 'error'
13.94   error: subprocess-exited-with-error
13.94   
13.94   × Preparing metadata (pyproject.toml) did not run successfully.
13.94   │ exit code: 1
13.94   ╰─> [6 lines of output]
13.94       Checking for Rust toolchain....
13.94       
13.94       Cargo, the Rust package manager, is not installed or is not on PATH.
13.94       This package requires Rust and Cargo to compile extensions. Install it through
13.94       the system's package manager or via https://rustup.rs/
13.94       
13.94       [end of output]
13.94   
13.94   note: This error originates from a subprocess, and is likely not a problem with pip.
14.06 error: metadata-generation-failed
14.06 

Expected Behavior

Successful installation

Steps To Reproduce

During fresh setup

Environment

na

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions