Registry /
llm-agents / llama-index-vector-stores-weaviate
Install & Compatibility
Where this runs
tested against v1.6.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 7.760s · 286.6MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 21.6s · import 6.440s · 280MB
297MB installed
● package 297MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
WeaviateVectorStore
✓ from llama_index.vector_stores.weaviate import WeaviateVectorStore
Standard import path after version 0.9+; earlier used 'llama_index.vector_stores.weaviate' (no 'vector_stores' package) but was deprecated in 0.9.
WeaviateProperty
✓ from llama_index.vector_stores.weaviate import WeaviateProperty
Used for defining additional metadata properties.
Basic usage: connect to Weaviate, store documents, and query.
import weaviate
from llama_index.core import VectorStoreIndex, StorageContext
from llama_index.vector_stores.weaviate import WeaviateVectorStore
# Connect to Weaviate (e.g., local Docker)
client = weaviate.Client("http://localhost:8080")
# Create vector store
vector_store = WeaviateVectorStore(weaviate_client=client, index_name="LlamaIndex")
# Create index from documents
documents = [Document(text="llama-index is awesome")]
storage_context = StorageContext.from_defaults(vector_store=vector_store)
index = VectorStoreIndex.from_documents(documents, storage_context=storage_context)
# Query
query_engine = index.as_query_engine()
response = query_engine.query("What is llama-index?")
print(response)
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'llama_index.vector_stores.weaviate'
Package not installed or wrong import path for older versions.
fixInstall with 'pip install llama-index-vector-stores-weaviate' and use correct import: 'from llama_index.vector_stores.weaviate import WeaviateVectorStore'.
TypeError: WeaviateVectorStore.__init__() got an unexpected keyword argument 'client'
Parameter name is 'weaviate_client', not 'client'.
fixUse 'WeaviateVectorStore(weaviate_client=client, ...)'.
weaviate.exceptions.WeaviateClosedError: Weaviate is closed or not responding
Weaviate server not running or incorrect URL.
fixEnsure Weaviate is running (e.g., 'docker run -p 8080:8080 semitechnologies/weaviate:latest') and use correct URL like 'http://localhost:8080'.
ValueError: Could not find class 'LlamaIndex' in Weaviate schema
Class name does not exist; Weaviate supports automatic schema creation but may require explicit creation if settings disallow auto-schema.
fixEnsure 'auto_schema.enabled' is true in Weaviate configuration, or manually create the class with 'client.schema.create_class(...)'.
Upgrade
Version history
1.6.1latest on PyPI · released May 20, 2026
Audit
Dependencies
llama-index-corerequiredCore dependency for LlamaIndex abstractions
weaviate-clientrequiredOfficial Weaviate Python client