Install Milvus Python SDK
This topic describes how to install Milvus Python SDK for Milvus.
Current version of Milvus supports SDKs in Python, Node.js, GO, and Java.
Requirement
Python 3.6 or later is required.
Install PyMilvus via pip
PyMilvus is available in Python Package Index.
It is recommended to install a PyMilvus version that matches the version of the Milvus server you installed. For more information, see Release Notes.
$ python3 -m pip install pymilvus==2.0.2
Verify installation
If PyMilvus is correctly installed, no exception will be raised when you run the following command.
$ python3 -c "from pymilvus import Collection"
What's next
Having installed PyMilvus, you can:
-
Learn the basic operations of Milvus:
-
Explore PyMilvus API reference