Skip to content

[Bug]: cargo build with ubuntu Failed with error: failed to run custom build command for pyo3-build-config v0.25.1 #38

@xueliangyang-oeuler

Description

@xueliangyang-oeuler

Your current environment

Environment Information
vLLM Router version:
Rust version:
Python version:
Operating System:
Deployment environment:
vLLM backend version:

Component

Load Balancing Policy (cache-aware, consistent-hash, power-of-two, etc.)

Router Configuration

cargo build --release

🐛 Describe the bug

error: failed to run custom build command for pyo3-build-config v0.25.1

Caused by:
process didn't exit successfully: /router/target/release/build/pyo3-build-config-8fb679ba41d58ce7/build-script-build (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=PYO3_CONFIG_FILE
cargo:rerun-if-env-changed=PYO3_NO_PYTHON
cargo:rerun-if-env-changed=PYO3_ENVIRONMENT_SIGNATURE
cargo:rerun-if-env-changed=PYO3_PYTHON
cargo:rerun-if-env-changed=VIRTUAL_ENV
cargo:rerun-if-env-changed=CONDA_PREFIX
cargo:rerun-if-env-changed=PATH

--- stderr
error: no Python 3.x interpreter found
warning: build failed, waiting for other jobs to finish...

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions