You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@192:/Work/FastDeploy/python/dist# python -c "import fastdeploy"
Traceback (most recent call last):
File "/usr/local/python3.7.5/lib/python3.7/site-packages/fastdeploy_python-0.0.0-py3.7-linux-x86_64.egg/fastdeploy/c_lib_wrap.py", line 164, in
from .libs.fastdeploy_main import *
ImportError: libiomp5.so: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/python3.7.5/lib/python3.7/site-packages/fastdeploy_python-0.0.0-py3.7-linux-x86_64.egg/fastdeploy/init.py", line 122, in
from .c_lib_wrap import (
File "/usr/local/python3.7.5/lib/python3.7/site-packages/fastdeploy_python-0.0.0-py3.7-linux-x86_64.egg/fastdeploy/c_lib_wrap.py", line 166, in
raise RuntimeError(f"FastDeploy initalized failed! Error: {e}")
RuntimeError: FastDeploy initalized failed! Error: libiomp5.so: cannot open shared object file: No such file or directory
环境
Download the latest source code
git clone https://github.com/PaddlePaddle/FastDeploy.git
cd FastDeploy/python
export WITH_ASCEND=ON
export ENABLE_VISION=ON
python setup.py build
python setup.py bdist_wheel
问题日志及出现问题的操作流程, fastdeploy导入失败
root@192:/Work/FastDeploy/python/dist# python -c "import fastdeploy"
Traceback (most recent call last):
File "/usr/local/python3.7.5/lib/python3.7/site-packages/fastdeploy_python-0.0.0-py3.7-linux-x86_64.egg/fastdeploy/c_lib_wrap.py", line 164, in
from .libs.fastdeploy_main import *
ImportError: libiomp5.so: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/python3.7.5/lib/python3.7/site-packages/fastdeploy_python-0.0.0-py3.7-linux-x86_64.egg/fastdeploy/init.py", line 122, in
from .c_lib_wrap import (
File "/usr/local/python3.7.5/lib/python3.7/site-packages/fastdeploy_python-0.0.0-py3.7-linux-x86_64.egg/fastdeploy/c_lib_wrap.py", line 166, in
raise RuntimeError(f"FastDeploy initalized failed! Error: {e}")
RuntimeError: FastDeploy initalized failed! Error: libiomp5.so: cannot open shared object file: No such file or directory
搜索libiomp5.so
/usr/local/python3.7.5/lib/python3.7/site-packages/fastdeploy_python-0.0.0-py3.7-linux-x86_64.egg/fastdeploy/libs/third_libs/paddlelite/lib/lib/libiomp5.so
/Work/python/fastdeploy/libs/third_libs/paddlelite/lib/libbak/libiomp5.so
/Work/python/fastdeploy/libs/third_libs/paddlelite/lib/lib/libiomp5.so
/Work/python/.setuptools-cmake-build/third_libs/install/paddlelite/lib/lib/libiomp5.so
/Work/FastDeploy/python/fastdeploy/libs/third_libs/paddlelite/lib/lib/libiomp5.so
/Work/FastDeploy/python/build/lib.linux-x86_64-cpython-37/fastdeploy/libs/third_libs/paddlelite/lib/lib/libiomp5.so
/Work/FastDeploy/python/build/lib.linux-x86_64-3.7/fastdeploy/libs/third_libs/paddlelite/lib/lib/libiomp5.so
/Work/FastDeploy/python/.setuptools-cmake-build/third_libs/install/paddlelite/lib/lib/libiomp5.so
The text was updated successfully, but these errors were encountered: