Skip to content

Cant compile shaderc-rs due to python #53

@ethereumdegen

Description

@ethereumdegen

On linux ubuntu and im totally stuck.

Running 'python --version' gives 3.8.10 . I alrdy aliased 'python' to 'python3' so it should be fine.

Then running cargo build gives:

warning: Checking for system installed libraries. Use --features = build-from-source to disable this behavior
warning: System installed library not found. Falling back to build from source

error: failed to run custom build command for shaderc-sys v0.6.3

Caused by:
process didn't exit successfully: /home/andy/rust/richter/target/debug/build/shaderc-sys-f89ed4c0ddc2d59e/build-script-build (exit status: 101)
--- stdout
cargo:warning=Checking for system installed libraries. Use --features = build-from-source to disable this behavior
cargo:warning=System installed library not found. Falling back to build from source

--- stderr
thread 'main' panicked at '

couldn't find required command: "python"

???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions