Vane Data / 快速开始
安装
Vane Data 使用 vane-ai 作为发布包名,使用 vane 作为 Python 导入包。
环境要求
- Vane 支持 Python 3.10 至 3.14。推荐使用 Python 3.12,它也是主要开发版本。
- 当前发布的 wheel 面向兼容 manylinux 2.28 的 Linux x86_64 系统;其他平台需要本地 C++ 构建环境。
安装发布包
安装 uv;当你的 Python 版本和平台已有可用 wheel 时,优先安装发布包:
uv venv --python 3.12 source .venv/bin/activate uv pip install vane-ai
可选依赖
只安装你使用的 provider:
# Local embedding and classification models uv pip install sentence-transformers transformers torch # Hosted model providers uv pip install openai uv pip install anthropic uv pip install google-genai # vLLM-backed prompting uv pip install vllm
验证安装
python - <<'PY' import vane print("Vane:", vane.__version__) print("DuckDB:", vane.__duckdb_version__) con = vane.connect() con.sql("select 42 as answer").show() PY
需要从源码构建?请参阅开发。
下一步:快速开始。