-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: Could not load libInspireFace.so. #62
Comments
Hello, the reasons for the .so file failing to load successfully are:
In the new version(deepinsight/insightface#2607), we have added error messages for when the inspireface.so library fails to load. You can find these messages in the console and follow the prompts to resolve the issues, for example: python sample_face_detection.py ../test_res/pack/Pikachu ../test_res/data/bulk/face_sample.png
/home/tunm/work/InspireFace/python/inspireface/modules/core/liblibInspireFace.so.so: cannot open shared object file: No such file or directory
/home/tunm/work/InspireFace/python/inspireface/modules/core/libInspireFace.so.so: cannot open shared object file: No such file or directory
/lib/x86_64-linux-gnu/libgtk-3.so.0: undefined symbol: g_mount_operation_set_is_tcrypt_hidden_volume
..... Additionally, we used GitHub Actions in the development repository to deploy and test Python calls to native code, and it ran successfully. You can refer to the script for details: CI Script |
buid is successful but unable to load module file, please suggest. (base) raj@ryzenbeast:/datadisk/inspireface$ bash ci/quick_test_linux_x86_usual_python_native_interface.sh Update the VERSION argument value or use a ... suffix to tell -- Use Threadpool, forbid openmp |
Based on your log, it is confirmed that your GLIBCXX version is too low(At least GLIBCXX_3.4.32 is required.). It usually depends on libstdc++, which you can install or upgrade on your computer. It is worth noting that the path indicating the low version is within the miniconda directory. You can check if the system's GLIBCXX meets the requirements, and if it does, you can manually replace the GLIBCXX in the miniconda directory. |
Hello, I would like to ask about an environment configuration issue. While testing on Ubuntu and following the given environment configuration requirements, I configured the environment twice. During the debugging process, the same error occurred. What could be the problem?
(InspireFace) l@l-ThinkStation-P920:/media/l/56c1a6af-6c26-4b19-8667-59642efbd717/InspireFace/python$ python
Python 3.8.19 (default, Mar 20 2024, 19:58:24)
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
The text was updated successfully, but these errors were encountered: