Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

core_avx.so: undefined symbol: _dl_sym, version GLIBC_PRIVATE

Open qijigaici opened this issue 4 years ago • 15 comments

请提出你的问题 Please ask your question

安装命令:python3 -m pip install paddlepaddle==2.3.0 -i https://mirror.baidu.com/pypi/simple 运行: paddlespeech tts --input "你好,欢迎使用百度飞桨深度学习框架!" --output output.wav 错误提示: Error: Can not import avx core while this file exists: /home/ctb/tools/venv/lib/python3.7/site-packages/paddle/fluid/core_avx.so Traceback (most recent call last): File "/home/ctb/tools/venv/bin/paddlespeech", line 5, in from paddlespeech.cli.entry import _execute File "/home/ctb/tools/venv/lib/python3.7/site-packages/paddlespeech/cli/init.py", line 16, in from .base_commands import BaseCommand File "/home/ctb/tools/venv/lib/python3.7/site-packages/paddlespeech/cli/base_commands.py", line 19, in from ..resource import CommonTaskResource File "/home/ctb/tools/venv/lib/python3.7/site-packages/paddlespeech/resource/init.py", line 14, in from .resource import CommonTaskResource File "/home/ctb/tools/venv/lib/python3.7/site-packages/paddlespeech/resource/resource.py", line 20, in from ..cli.utils import download_and_decompress File "/home/ctb/tools/venv/lib/python3.7/site-packages/paddlespeech/cli/utils.py", line 26, in import paddle File "/home/ctb/tools/venv/lib/python3.7/site-packages/paddle/init.py", line 25, in from .framework import monkey_patch_variable File "/home/ctb/tools/venv/lib/python3.7/site-packages/paddle/framework/init.py", line 17, in from . import random # noqa: F401 File "/home/ctb/tools/venv/lib/python3.7/site-packages/paddle/framework/random.py", line 16, in import paddle.fluid as fluid File "/home/ctb/tools/venv/lib/python3.7/site-packages/paddle/fluid/init.py", line 36, in from . import framework File "/home/ctb/tools/venv/lib/python3.7/site-packages/paddle/fluid/framework.py", line 37, in from . import core File "/home/ctb/tools/venv/lib/python3.7/site-packages/paddle/fluid/core.py", line 298, in raise e File "/home/ctb/tools/venv/lib/python3.7/site-packages/paddle/fluid/core.py", line 256, in from . import core_avx ImportError: /home/ctb/tools/venv/lib/python3.7/site-packages/paddle/fluid/core_avx.so: undefined symbol: _dl_sym, version GLIBC_PRIVATE

qijigaici avatar Jun 28 '22 08:06 qijigaici

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!

paddle-bot-old avatar Jun 28 '22 08:06 paddle-bot-old

(/home/ctb/tools/venv) ctb@ctb-virtual-machine:~$ cat /proc/cpuinfo |grep -i avx flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsaveavx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xsaves arat md_clear flush_l1d arch_capabilities

qijigaici avatar Jun 28 '22 09:06 qijigaici

(/home/ctb/tools/venv) ctb@ctb-virtual-machine:~$ python -m pip install paddlepaddle-2.3.0-cp38-cp38-linux_x86_64.whl ERROR: paddlepaddle-2.3.0-cp38-cp38-linux_x86_64.whl is not a supported wheel on this platform

python -m pip install paddlepaddle-2.3.0rc0-cp38-cp38-linux_x86_64.whl ERROR: paddlepaddle-2.3.0rc0-cp38-cp38-linux_x86_64.whl is not a supported wheel on this platform.

qijigaici avatar Jun 28 '22 09:06 qijigaici

你好,你的问题已经收到,可以参考 https://github.com/PaddlePaddle/Paddle/issues/36801 目前你的系统似乎是 paddle 不支持的系统版本

shiyutang avatar Jun 29 '22 01:06 shiyutang

目前ubuntu只支持18.04及以下?

qijigaici avatar Jun 29 '22 02:06 qijigaici

可以参考noavx的panddle版本安装:https://github.com/PaddlePaddle/Paddle/issues/42225

shiyutang avatar Jun 29 '22 10:06 shiyutang

Today I want to explain that Ubuntu20.04 can use paddle anyway, but I don't know if Ubuntu21.10 can support it? Please just give us an answer.

Microslargh avatar Jul 07 '22 06:07 Microslargh

I got same error on Ubuntu 22.04 LTS.

arzakmiftakhul avatar Jul 13 '22 09:07 arzakmiftakhul

Yes, Ubuntu 22.04 can not support paddle2.3.1

wgq18 avatar Aug 06 '22 07:08 wgq18

same issues on 5.15.60-1-MANJARO #1 SMP PREEMPT Thu Aug 11 13:14:05 UTC 2022 x86_64 GNU/Linux

gamegrd avatar Sep 08 '22 06:09 gamegrd

Yes, Ubuntu 22.04 can not support paddle2.3.1

2.3.2 too

april211 avatar Sep 09 '22 04:09 april211

Waiting for support for ubuntu 22

saaavsaaa avatar Oct 08 '22 12:10 saaavsaaa

各位大佬们,不要一个问题,多次出现嘛,想说爱你不容易啊

devopsmi avatar Oct 16 '22 14:10 devopsmi

Does anyone know what Linux distros are supported?

AntonOfTheWoods avatar Feb 13 '23 12:02 AntonOfTheWoods

Since you haven't replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。

paddle-bot avatar Feb 20 '24 06:02 paddle-bot