Closed Irvingao closed 5 months ago
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网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!
I got the same error when I install paddlepaddle cpu version. As a consequence, are there some related dependences lost or missing?
conda install paddlepaddle==2.2.2 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/
(paddle) pc@pc-Irvingao:~$ python
Python 3.6.2 |Continuum Analytics, Inc.| (default, Jul 20 2017, 13:51:32)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import paddle
Error: Can not import avx core while this file exists: /home/pc/anaconda3/envs/paddle/lib/python3.6/site-packages/paddle/fluid/core_avx.so
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pc/anaconda3/envs/paddle/lib/python3.6/site-packages/paddle/__init__.py", line 25, in <module>
from .fluid import monkey_patch_variable
File "/home/pc/anaconda3/envs/paddle/lib/python3.6/site-packages/paddle/fluid/__init__.py", line 36, in <module>
from . import framework
File "/home/pc/anaconda3/envs/paddle/lib/python3.6/site-packages/paddle/fluid/framework.py", line 37, in <module>
from . import core
File "/home/pc/anaconda3/envs/paddle/lib/python3.6/site-packages/paddle/fluid/core.py", line 294, in <module>
raise e
File "/home/pc/anaconda3/envs/paddle/lib/python3.6/site-packages/paddle/fluid/core.py", line 256, in <module>
from .core_avx import *
ImportError: /home/pc/anaconda3/envs/paddle/lib/python3.6/site-packages/paddle/fluid/core_avx.so: undefined symbol: _dl_sym, version GLIBC_PRIVATE
I have installed gcc-5 a few days ago, the version info as follow:
(paddle) pc@pc-Irvingao:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.5.0-12ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.5.0 20171010 (Ubuntu 5.5.0-12ubuntu1)
Paddle is tested in gcc8 and gcc5 is not well supported, maybe you can try gcc8 it should work well.
i have tried gcc8, it did't work
gcc 11 did't work.
I have the same error. Although I'm using CPU and my GCC is recent.
gcc 12 didn't work
same error
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。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。
版本、环境信息:
1)PaddlePaddle版本:
paddlepaddle-gpu==2.2.2 cudatoolkit=11.2
2)CPU:
3)GPU:
The cudnn which I installed supports cuda version 11.1, 11.2 and 11.3. 4)系统环境:
安装方式信息: 1)Using conda to install:
conda install paddlepaddle-gpu==2.2.2 cudatoolkit=11.2 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge