JiaXin Zhang
JiaXin Zhang
> When I try to build the image for Milvus, the following error occurs: > > `Step 6/7 : RUN python3 -c 'import pyknowhere' ---> Running in e84180a73171 Illegal instruction...
> It seems that you should use `import knowhere`  But, the project ['ann-benchmarks'](https://github.com/erikbern/ann-benchmarks) has source code `pyknowhere.Index()`, `import knowhere` report error 'No Attribute'.
> This seems to be due to version inconsistency. I see that ['ann-benchmarks'](https://github.com/erikbern/ann-benchmarks) uses version 1.x, but now knowhere should be version 2.x  However, when I checkout 1.x branch...
How to import pyknowhere? I can't use it.
> I think this project ['ann-benchmarks'](https://github.com/erikbern/ann-benchmarks) should use a historical version, but I am not sure. If you want to run it, I suggest you modify the relevant code in...
I change the command ` conan install .. --build=missing -o with_ut=True -s compiler.libcxx=libstdc++ -s build_type=Release`, it is successful.
But I will encounter the warning: > conanfile.py (knowhere/None): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and...