This crate is the Rust/PyO3 extension for the embed_anything Python package. It is not built with plain cargo.
From the repository root (not from this directory), use maturin so the extension links against your Python installation:
# From repository root
maturin develop # build and install in the current environment (editable)
# or
maturin build # build a wheelOr install the package (maturin is the build backend in pyproject.toml):
pip install -e .Do not run cargo build in this directory or cargo build -p embed_anything_python from the root鈥攖he linker will fail with undefined Python symbols because cargo does not link libpython.