Symptom
On the Kylin V10 operating system, you encounter issues such as failing to install [object Object].
Cause
The dependencies are not installed correctly.
Solution
Install the dependencies as follows:
Create a Yum repository configuration file.
[object Object]The content is as follows:
[object Object]Update the Yum cache.
[object Object]
Symptom
When you build Faiss 1.10.0, an error appears that says [object Object].
Cause
The current CMake version is too low. Faiss 1.10.0 requires CMake 3.24.0 or later.
Solution
Install CMake 3.24.0 or later. The following example uses CMake 3.24.0.
x86 environment:
Obtain the CMake installation script.
[object Object]Run the installation script.
[object Object][object Object]Check the CMake version.
[object Object]The current CMake version is displayed as follows:
[object Object]
AArch64 environment:
Obtain the CMake installation script.
[object Object]Run the installation script.
[object Object][object Object]Check the CMake version.
[object Object]The current CMake version is displayed as follows:
[object Object]
Symptom
When you build and install [object Object], the following error appears.
Cause
When you build and install Python from source, you do not set the [object Object] parameter.
[object Object]: Keeps the shared library generated earlier.
Solution
Rebuild and install Python. The following example shows the build parameters.
Symptom
Import error example: [object Object].
Cause
Different components report a conflict when they reference a [object Object] file.
Solution
Add the following content to the first line of the running demo or sample code.
[object Object]Retry. If the issue still persists, add the full path of the
[object Object]file mentioned in the error to the[object Object]environment variable. Note that there may be multiple entries. The following example uses[object Object]to represent the path of the faulty[object Object]file.[object Object]
Symptom
The following error appears when Python imports a package.
Cause
Different components report a conflict when they reference [object Object].
Solution
Add the following content to the first line of the running demo or sample code.
Symptom
After the run completes, the following error appears: [object Object] or [object Object].
Cause
This may happen because another component in the user business process uses [object Object] resources and calls [object Object] to release them. As a result, the [object Object] resources are released twice.
Solution
Solution 1
Set the
[object Object]environment variable to[object Object]so that Index SDK does not call[object Object]. Set it to[object Object]to keep calling[object Object]. Any other value is invalid.Ensure that the installed Index SDK version matches the compatible version, and add the environment variable as follows:
[object Object]Solution 2
If Solution 1 does not work, remove
[object Object], and then adjust the import order. If you import packages related to[object Object]or[object Object]together with packages related to[object Object]or[object Object], import the latter first.
Symptom
When an exception is raised, the stack trace prints only one line of exception information.
Cause
The current default traceback limit is set to [object Object], which means only the top of the stack is printed.
Solution
In the running demo or at the call site, import the [object Object] package, and then add the following configuration:
[object Object]