fix: docs for python3 and conan (#32656)

Conan 1.x is broken for Python 3.12, since imp is deprecated in favour
of importlib, removed in 3.12.

https://github.com/milvus-io/milvus/issues/32655

Signed-off-by: light-city <455954986@qq.com>
This commit is contained in:
Francis 2024-05-28 14:35:42 +08:00 committed by GitHub
parent e71b7c7cc9
commit b138ae742d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -236,7 +236,7 @@ sudo apt install -y clang-format clang-tidy ninja-build gcc g++ curl zip unzip t
#### Install conan
```bash
# Verify python3 version, need python3 version > 3.8
# Verify python3 version, need python3 version > 3.8 and version <= 3.11
python3 --version
# pip install conan 1.61.0
pip3 install conan==1.61.0

View File

@ -75,6 +75,7 @@ Linux systems (Ubuntu 20.04 or later recommended):
go: >= 1.21
cmake: >= 3.26.4
gcc: 7.5
python: > 3.8 and <= 3.11
```
MacOS systems with x86_64 (Big Sur 11.5 or later recommended):
@ -82,6 +83,7 @@ MacOS systems with x86_64 (Big Sur 11.5 or later recommended):
go: >= 1.21
cmake: >= 3.26.4
llvm: >= 15
python: > 3.8 and <= 3.11
```
MacOS systems with Apple Silicon (Monterey 12.0.1 or later recommended):
@ -89,6 +91,7 @@ MacOS systems with Apple Silicon (Monterey 12.0.1 or later recommended):
go: >= 1.21 (Arch=ARM64)
cmake: >= 3.26.4
llvm: >= 15
python: > 3.8 and <= 3.11
```
Clone Milvus repo and build.