Prerequisites
To use the Python SDK, make sure you have:- Python 3.10 or later
- numpy 2.2 or later
- grpcio 1.68 or later
- pydantic 2.10 or later
Coming soon
Install the SDK
Install the VectorAI DB Python SDK using pip.Coming soon
Install with optional dependencies
To install the SDK with additional dependencies for specific use cases, include the relevant extras.Coming soon
Install from source
You can also install the SDK directly from the repository.Coming soon
Verify installation
Test that the SDK is installed correctly by connecting to the server over gRPC onlocalhost:50051 and running a health check.
Virtual environments
We recommend installing the SDK inside a virtual environment to avoid dependency conflicts.- venv
- conda
Coming soon
Troubleshooting
Common issues
The following table lists common installation issues and their solutions.| Issue | Solution |
|---|---|
ModuleNotFoundError | Verify the SDK is installed in the correct Python environment. |
grpc connection errors | Confirm that VectorAI DB is running and accessible on the expected port. |
| Python version mismatch | Check your version with python --version. The SDK requires Python 3.10 or later. |
| Permission errors during install | Use pip install --user actian-vectorai or install inside a virtual environment. |
Next steps
Now that the SDK is installed, explore these resources to start building.Quickstart
Build your first application with the Python SDK
Core Concepts
Learn about collections, vectors, and payloads
Tutorials
Follow step-by-step tutorials