Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring the Environment

Before using ANN-Benchmarks to test Milvus, you need to install PyMilvus and the Milvus database. PyMilvus is a Python SDK for connecting to and operating the Milvus vector database. Run the pip install pymilvus==2.4.3 command to install PyMilvus. For details about how to install the Milvus database, see Milvus.

  • In this test, the Python 3 virtual environment and Milvus user are created using Conda. Activate the Conda environment to use Milvus. If the Milvus database is installed with other methods or the Python 3 environment is directly created, configuring the environment is not required.
  • To use a script to start or stop Milvus, you can go to the Milvus installation directory first, and the script identifies the current directory. Then, the script enables features such as jemalloc. Entering other directories may cause Milvus startup failure.