Installing Conan
Milvus depends on multiple third-party libraries. Using Conan, you can automatically download, configure, and link these dependencies to ensure that they are compatible with your project and can be easily managed on different platforms. To ensure that the Conan version used for compilation meets the Milvus requirements, it is advised to install Conan 1.61.0 or later.
- Download the required Conan version.
1 2
conda activate milvus pip install conan==1.61.0
- Check the Conan version.
1conan --versionThe installation is successful if the following information is displayed:
1Conan version 1.61.0
- Cancel the download check.
Canceling the check for files downloaded using Conan can prevent download failures caused by check failures of some dependencies. However, this operation may bring potential security risks. Therefore, cancel the check only when necessary and take additional measures (for example, manually verifying file integrity) to ensure the authenticity and security of the downloaded files.
1 2 3
conan remote add conancenter https://center.conan.io False -f conan remote add default-conan-local https://milvus01.jfrog.io/artifactory/api/conan/default-conan-local False -f sed -i '32s/self._verify_ssl = verify/self._verify_ssl = False/' ~/miniconda3/envs/milvus/lib/python3.10/site-packages/conans/client/downloaders/file_downloader.py