Ubuntu Server 20.04.3 LTS 安装Paddle错误求助
收藏
Ubuntu Server 20.04.3 LTS
机器无GPU,查询CPU支持AVX指令集
安装成功,但是在验证安装时报错
>>> import paddle
Error: Can not import avx core while this file exists: /home/zorn/.virtualenvs/paddle-venv/lib/python3.9/site-packages/paddle/fluid/core_avx.so
Traceback (most recent call last):
File "", line 1, in
File "/home/zorn/.virtualenvs/paddle-venv/lib/python3.9/site-packages/paddle/__init__.py", line 25, in
from .fluid import monkey_patch_variable
File "/home/zorn/.virtualenvs/paddle-venv/lib/python3.9/site-packages/paddle/fluid/__init__.py", line 36, in
from . import framework
File "/home/zorn/.virtualenvs/paddle-venv/lib/python3.9/site-packages/paddle/fluid/framework.py", line 37, in
from . import core
File "/home/zorn/.virtualenvs/paddle-venv/lib/python3.9/site-packages/paddle/fluid/core.py", line 294, in
raise e
File "/home/zorn/.virtualenvs/paddle-venv/lib/python3.9/site-packages/paddle/fluid/core.py", line 256, in
from .core_avx import *
ImportError: libgomp.so.1: cannot open shared object file: No such file or directory
求助各位大佬,有什么解决办法嘛,尝试过安装noavx的版本,但是在import之后提示说我的机器支持AVX,又让装avx的版本
0
收藏
请登录后评论
apt-get install libgomp1
yum install libgomp
问题解决了,太感谢了!